home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / eplvcd08.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  154.8 KB  |  4,993 lines

  1. *GPDSpecVersion: "1.0"
  2. *GPDFileVersion: "1.0"
  3. *GPDFileName: "eplvcd08.GPD"
  4. *Include: "STDNAMES.GPD"
  5. *% Common Macros
  6. *Macros: ResourceIDs
  7. {
  8.     *% Font Resource (UFM)
  9.     RC_FONT_ROMAN    :   1
  10.     RC_FONT_SANSRF   :   2
  11.     RC_FONT_COURIER  :   3
  12.     RC_FONT_COURIERI :   4
  13.     RC_FONT_COURIERB :   5
  14.     RC_FONT_COURIERZ :   6
  15.     RC_FONT_SYMBOL   :   7
  16.     RC_FONT_SYMBOLIC :   8
  17.     RC_FONT_DUTCH    :  33
  18.     RC_FONT_DUTCHI   :  34
  19.     RC_FONT_DUTCHB   :  35
  20.     RC_FONT_DUTCHZ   :  36
  21.     RC_FONT_SWISS    :  37
  22.     RC_FONT_SWISSI   :  38
  23.     RC_FONT_SWISSB   :  39
  24.     RC_FONT_SWISSZ   :  40
  25.     RC_FONT_MOREWB   :  43
  26.  
  27.     *% Font Resource (UFM):Japanese
  28.     RC_FONT_MINCHO   :  52
  29.     RC_FONT_MINCHOV  :  53
  30.     RC_FONT_KGOTHIC  :  54
  31.     RC_FONT_KGOTHICV :  55
  32.     RC_FONT_MGOTHIC  :  56
  33.     RC_FONT_MGOTHICV :  57
  34.     RC_FONT_KYOUKA   :  58
  35.     RC_FONT_KYOUKAV  :  59
  36.     RC_FONT_SHOUKAI  :  60
  37.     RC_FONT_SHOUKAIV :  61
  38.     RC_FONT_MOUHITSU :  62
  39.     RC_FONT_MOUHITSV :  63
  40.     RC_FONT_FMINB    :  64
  41.     RC_FONT_FMINBV   :  65
  42.     RC_FONT_FGOB     :  66
  43.     RC_FONT_FGOBV    :  67
  44.     RC_FONT_FMGOT    :  68
  45.     RC_FONT_FMGOTV   :  69
  46.  
  47.     *% Font Resource (UFM):ChineseT
  48.     RC_FONT_SUNGC    :  70
  49.     RC_FONT_SUNGCV   :  71
  50.     RC_FONT_SUNGCL   :  72
  51.     RC_FONT_SUNGCLV  :  73
  52.     RC_FONT_SUNGCB   :  74
  53.     RC_FONT_SUNGCBV  :  75
  54.     RC_FONT_KAIC     :  76
  55.     RC_FONT_KAICV    :  77
  56.     RC_FONT_KAICL    :  78
  57.     RC_FONT_KAICLV   :  79
  58.     RC_FONT_KAICB    :  80
  59.     RC_FONT_KAICBV   :  81
  60.     RC_FONT_YUANGC   :  82
  61.     RC_FONT_YUANGCV  :  83
  62.     RC_FONT_YUANGCL  :  84
  63.     RC_FONT_YUANGCLV :  85
  64.     RC_FONT_YUANGCB  :  86
  65.     RC_FONT_YUANGCBV :  87
  66.     RC_FONT_HEIC     :  88
  67.     RC_FONT_HEICV    :  89
  68.     RC_FONT_HEICL    :  90
  69.     RC_FONT_HEICLV   :  91
  70.     RC_FONT_HEICB    :  92
  71.     RC_FONT_HEICBV   :  93
  72.     RC_FONT_LIC      :  94
  73.     RC_FONT_LICV     :  95
  74.     RC_FONT_FSUNGC   :  96
  75.     RC_FONT_FSUNGCV  :  97
  76.     RC_FONT_FSUNGCL  :  98
  77.     RC_FONT_FSUNGCLV :  99
  78.     RC_FONT_FSUNGCB  : 100
  79.     RC_FONT_FSUNGCBV : 101
  80.     RC_FONT_SHINGC   : 102
  81.     RC_FONT_SHINGCV  : 103
  82.     RC_FONT_SHINYIC  : 104
  83.     RC_FONT_SHINYICV : 105
  84.  
  85.     *% Font Resource (UFM):ChineseS
  86.     RC_FONT_SONGK    : 106
  87.     RC_FONT_SONGKV   : 107
  88.     RC_FONT_HEIK     : 108
  89.     RC_FONT_HEIKV    : 109
  90.     RC_FONT_KAIK     : 110
  91.     RC_FONT_KAIKV    : 111
  92.     RC_FONT_FSONGK   : 112
  93.     RC_FONT_FSONGKV  : 113
  94.  
  95.     *% Font Resource (UFM):Korean
  96.     RC_FONT_MYUNGH   : 114
  97.     RC_FONT_MYUNGHV  : 115
  98.     RC_FONT_MYUNGHB  : 116
  99.     RC_FONT_MYUNGHBV : 117
  100.     RC_FONT_GOTHIH   : 118
  101.     RC_FONT_GOTHIHV  : 119
  102.     RC_FONT_GOTHIHB  : 120
  103.     RC_FONT_GOTHIHBV : 121
  104.     RC_FONT_DINARH   : 122
  105.     RC_FONT_DINARHV  : 123
  106.     RC_FONT_DINARHB  : 124
  107.     RC_FONT_DINARHBV : 125
  108.     RC_FONT_GUNGH    : 126
  109.     RC_FONT_GUNGHV   : 127
  110.     RC_FONT_GUNGHB   : 128
  111.     RC_FONT_GUNGHBV  : 129
  112.     RC_FONT_SAMMUH   : 130
  113.     RC_FONT_SAMMUHV  : 131
  114.     RC_FONT_SAMMUHB  : 132
  115.     RC_FONT_SAMMUHBV : 133
  116.     RC_FONT_PILGIH   : 134
  117.     RC_FONT_PILGIHV  : 135
  118.     RC_FONT_PILGIHB  : 136
  119.     RC_FONT_PILGIHBV : 137
  120.     RC_FONT_YETCHH   : 138
  121.     RC_FONT_YETCHHV  : 139
  122.     RC_FONT_YETCHHB  : 140
  123.     RC_FONT_YETCHHBV : 141
  124.  
  125.     *% TTFS:Latin; valid only when optional fonts(Swiss721, etc.) provided
  126.     RC_TTF_ARIAL       : 150              *% L"Arial"
  127.     RC_DF_SWISS721     : 151              *% L"Swiss721"
  128.     RC_TTF_COURIERNEW  : 152              *% L"Courier New"
  129.     RC_DF_COURIER      : 153              *% L"Courier"
  130.     RC_TTF_SYMBOL      : 154              *% L"Symbol"
  131.     RC_DF_SYMBOLIC     : 156              *% L"Symbolic"
  132.     RC_TTF_TIMESNR     : 157              *% L"Times New Roman"
  133.     RC_DF_DUTCH801     : 158              *% L"Dutch801"
  134.     RC_TTF_WINGDINGS   : 159              *% L"Wingdings"
  135.     RC_DF_MOREWINGBATS : 160              *% L"MoreWingBats"
  136.  
  137.     *% TTFS:Japanese
  138.     RC_TTF_MSMINCHO    : 180
  139.     RC_DF_MINCHO       : 181
  140.     RC_TTF_MSMINCHOV   : 182
  141.     RC_DF_MINCHOV      : 183
  142.     RC_TTF_MSGOTHIC    : 184
  143.     RC_DF_GOTHIC       : 185
  144.     RC_TTF_MSGOTHICV   : 186
  145.     RC_DF_GOTHICV      : 187
  146.  
  147.     *% TTFS:Japanese in English
  148.     RC_TTF_MSMINCHO_E  : 190
  149.     RC_TTF_MSMINCHOV_E : 191
  150.     RC_TTF_MSGOTHIC_E  : 192
  151.     RC_TTF_MSGOTHICV_E : 193
  152.  
  153.     *% TTFS:ChineseT
  154.     RC_TTF_LMING       : 200              *% MingLiU
  155.     RC_DF_SUNGCL       : 201              *% sungcl
  156.     RC_TTF_LMINGV      : 202              *% @MingLiU
  157.     RC_DF_SUNGCLV      : 203              *% sungclv
  158.  
  159.     *% TTFS:ChineseT in English
  160.     RC_TTF_LMING_E      : 204
  161.     RC_TTF_LMINGV_E     : 205
  162.  
  163.     *% TTFS:ChineseS
  164.     RC_TTF_SIMSUN      : 210              *% SimSun
  165.     RC_DF_SONGK        : 211              *% songk
  166.     RC_TTF_SIMSUNV     : 212              *% @SimSun
  167.     RC_DF_SONGKV       : 213              *% songkv
  168.     RC_TTF_SIMHEI      : 214              *% SimHei
  169.     RC_DF_HEIK         : 215              *% heik
  170.     RC_TTF_SIMHEIV     : 216              *% @SimHei
  171.     RC_DF_HEIKV        : 217              *% heikv
  172.  
  173.     *% TTFS:ChineseS in English
  174.     RC_TTF_SIMSUN_E    : 218
  175.     RC_TTF_SIMSUNV_E   : 219
  176.     RC_TTF_SIMHEI_E    : 220
  177.     RC_TTF_SIMHEIV_E   : 221
  178.  
  179.     *% PaperSize
  180.     RC_STR_HLT       : 257                *% L"HalfLetter 5.5 x 8.5 in"
  181.     RC_STR_GLG       : 258                *% L"Government Legal 8.5 x 13.0 in"
  182.     RC_STR_GLT       : 259                *% L"Government Letter 8.0 x 10.5 in"
  183.     RC_STR_F4        : 260                *% L"F4 210 x 330 mm"
  184.     RC_STR_C10       : 261                *% L"Commercial 10 4.125 x 9.5 in"
  185.     RC_STR_A3P       : 262                *% L"A3+ 329 x 483 mm"
  186.     RC_STR_A3W       : 263                *% L"A3 Wide 328 x 453 mm"
  187.     RC_STR_IB5       : 264                *% L"International-B5 176 x 250 mm"
  188.  
  189.     *% PaperSize:Japanese
  190.     *% RC_STR_A3N    : 265                *% L"A3Nobi 329 x 483 mm"
  191.  
  192.     *% PaperSize:ChineseT
  193.     RC_STR_8VO       : 266                *% L"8vo 275 x 395 mm"
  194.     RC_STR_16MO      : 267                *% L"16mo 198 x 275 mm"
  195.  
  196.  
  197.     RC_STR_LDGPOR    : 268                *% L"Ledger 11 x 17in"
  198.  
  199.     *% PaperSource
  200.     RC_STR_CST       : 270                *% L"Paper Cassette"
  201.     RC_STR_CST1      : 271                *% L"Lower Paper Cassette 1"
  202.     RC_STR_CST2      : 272                *% L"Lower Paper Cassette 2"
  203.     RC_STR_CST3      : 273                *% L"Lower Paper Cassette 3"
  204.     RC_STR_CST4      : 274                *% L"Lower Paper Cassette 4"
  205.     RC_STR_CST5      : 275                *% L"Lower Paper Cassette 5"
  206.     RC_STR_TRAY      : 276                *% L"Paper Tray"
  207.     RC_STR_MMFDR     : 277                *% L"Multimedia Feeder (Jpn)"
  208.     RC_STR_LCST      : 278                *% L"Lower Paper Cassette"
  209.     RC_STR_AUTOCHG   : 279                *% L"Auto Change (Jpn)"
  210.     RC_STR_FTRAY     : 280                *% L"Front Tray"
  211.     RC_STR_AUTOSEL   : 281                *% L"Auto Select"
  212.     RC_STR_MPTRAY    : 282                *% L"MP Tray"
  213.     RC_STR_HIGHCAPACITY : 283             *% L"High Capacity Unit"
  214.  
  215.     RC_STR_ONE_DBLCST   : 285             *% L"1 Double Casette Unit"
  216.     RC_STR_TWO_DBLCST   : 286             *% L"2 Double Casette Units"
  217.  
  218.     *% FontCartridgeName:Japanese
  219.     RC_STR_MARUGOT   : 290
  220.     RC_STR_KYOKASHO  : 291
  221.     RC_STR_KAISHO    : 292
  222.     RC_STR_GYOSHO    : 293
  223.     RC_STR_FMINFKGOT : 294
  224.     RC_STR_FMARUGOT  : 295
  225.     *% FontCartridgeName:ChineseT
  226.     RC_STR_FSSSY     : 296                *% L"FanSung,Shing,ShinYi Font Cartridge"
  227.     RC_STR_LI        : 297                *% L"Li Font ROM"
  228.     RC_STR_FANSUNG   : 298                *% L"FanSung Font ROM"
  229.     RC_STR_SHING     : 299                *% L"Shing Font ROM"
  230.     *% FontCartridgeName:Korean
  231.     RC_STR_PLYTCH    : 300                *% L"Pilgi,Yetche ROM Module"
  232.  
  233.     RC_STR_FACEDOWN     : 310
  234.     RC_STR_FACEUP       : 311
  235.     RC_STR_PRNTRMODE    : 312
  236.     *% Custom Features
  237.     RC_STR_THICK     : 323                *% L"Thick"
  238.     RC_STR_THICK_N   : 324                *% L"Thick Narrow"
  239.     RC_STR_THIN      : 325                *% L"Thin"
  240.  
  241.     *% Color
  242.     RC_STR_QUALITY   : 326
  243.     RC_STR_SPEED     : 327
  244.     RC_STR_CLRADJUST : 328
  245.     RC_STR_NONE      : 329
  246.     RC_STR_NATURAL   : 330
  247.     RC_STR_VIVID     : 331
  248.     RC_STR_PHOTOREALACC : 335
  249.     RC_STR_VIVIDACC  : 336
  250.     RC_STR_PHOTOREAL : 337
  251.     RC_STR_BRGHTNSS  : 358
  252.     RC_STR_DRVDEF    : 359
  253.     RC_STR_DARK2     : 360
  254.     RC_STR_DARK1     : 361
  255.     RC_STR_NORMAL    : 362
  256.     RC_STR_LGHT1     : 363
  257.     RC_STR_LGHT2     : 364
  258.     RC_STR_LGHT3     : 365
  259.     RC_STR_LGHT4     : 366
  260.     RC_STR_HUE       : 367
  261.     RC_STR_YLW       : 368
  262.     RC_STR_YLWGRN    : 369
  263.     RC_STR_GRN       : 370
  264.     RC_STR_BLUGRN    : 371
  265.     RC_STR_GRNBLU    : 372
  266.     RC_STR_BLU       : 373
  267.     RC_STR_BLUPPL    : 374
  268.     RC_STR_PPL       : 375
  269.     RC_STR_REDPPL    : 376
  270.     RC_STR_RED       : 377
  271.     RC_STR_ORG       : 378
  272.     RC_STR_YLWORG    : 379
  273.     RC_STR_CHROMA    : 380
  274.     RC_STR_FLAT      : 381
  275.     RC_STR_LOW       : 382
  276.     RC_STR_MED       : 383
  277.     RC_STR_HIGH      : 384
  278.     *% End color
  279.     RC_STR_RECTFILL  : 385                *% L"Vector Graphics"
  280.     RC_STR_ENABLED   : 386                *% L"Enabled"
  281.     RC_STR_DISABLED  : 387                *% L"Disabled"
  282.     RC_STR_OPTION_ON : 388                *% L"Installed"
  283.     RC_STR_OPTION_OFF: 389                *% L"Not Installed"
  284.     *% Custom Features:Japanese
  285.     RC_STR_VPADJUST : 391               *% L"ÅcÅæé½é╠üCüDé╠ê╩ÆuòΓÉ│"
  286.  
  287.     *% Custom Feature Duplex
  288.     RC_STR_DUPLEXUNIT : 395                *% L"Duplex Unit(option)"
  289.  
  290.     *% DMS
  291.     RC_STR_DMS_FEATURE     : 402
  292.     RC_STR_DMS_ENABLE      : 403
  293.     RC_STR_DMS_DISABLE     : 404
  294.  
  295.     RC_STR_MULTIBIN        : 410           *% L"Multibin Unit"
  296.     RC_STR_5BIN_UNIT       : 411           *% L"5Bin Multi-Purpose Unit"
  297.     RC_STR_10BIN_UNIT      : 412           *% L"10Bin Multi-Purpose Unit"
  298.     RC_STR_STAPLE_STACKER_UNIT : 413       *% L"Staple Stacker Unit"
  299.  
  300.     RC_STR_MULTIBIN_MODE   : 420           *% L"Multibin Mode settings"
  301.     RC_STR_MODE_NONE       : 421           *% L"Not Selected"
  302.     RC_STR_MODE_MAILBOX    : 422           *% L"Mailbox Mode"
  303.     RC_STR_MODE_SORTER     : 423           *% L"Sorter Mode"
  304.     RC_STR_MODE_MULTI_SOTER : 424          *% L"Multi-Sorter Mode"
  305.     RC_STR_MODE_STACKER    : 425           *% L"Stacker Mode"
  306.     RC_STR_MAILBOX_SELECT  : 426           *% L"Mailbox Number"
  307.     RC_STR_MODE_ST_STACKER : 427           *% L"Staple Stacker Mode"
  308.  
  309.     RC_STR_MAILBOX1        : 430           *% L"Mailbox 1"
  310.     RC_STR_MAILBOX2        : 431           *% L"Mailbox 2"
  311.     RC_STR_MAILBOX3        : 432           *% L"Mailbox 3"
  312.     RC_STR_MAILBOX4        : 433           *% L"Mailbox 4"
  313.     RC_STR_MAILBOX5        : 434           *% L"Mailbox 5"
  314.     RC_STR_MAILBOX6        : 435           *% L"Mailbox 6"
  315.     RC_STR_MAILBOX7        : 436           *% L"Mailbox 7"
  316.     RC_STR_MAILBOX8        : 437           *% L"Mailbox 8"
  317.     RC_STR_MAILBOX9        : 438           *% L"Mailbox 9"
  318.     RC_STR_MAILBOX10       : 439           *% L"Mailbox 10"
  319.     RC_STR_SORTER          : 440           *% L"Sorter"
  320.     RC_STR_MSORTER         : 441           *% L"Multi Sorter"
  321.     RC_STR_STACKER         : 442           *% L"Stacker"
  322.     RC_STR_ST_STACKER      : 443           *% L"Staple Stacker"
  323.  
  324.     RC_STR_SGL_CST         : 450
  325.     RC_STR_DBL_CST         : 451
  326.     RC_STR_TRP_CST         : 452
  327.     RC_STR_500S_CST        : 453
  328.  
  329.     RC_STR_YENV0           : 460
  330.     RC_STR_YENV4           : 461
  331.     RC_STR_YENV6           : 462
  332. }
  333.  
  334. *Macros: OEMCallbackIDs
  335. {
  336.     SET_LCID_J              :  10            *% 10 + 0x00000000(=LCID_JPN)
  337.     SET_LCID_C              : 65546          *% 10 + 0x00010000(=LCID_CHT)
  338.     SET_LCID_H              : 196618         *% 10 + 0x00030000(=LCID_KOR)
  339.     SET_LCID_K              : 131082         *% 10 + 0x00020000(=LCID_CHS)
  340.     SET_LCID_U              :  16777226      *% 10 + 0x01000000(=LCID_USA)
  341.  
  342.     XMOVE_ABS               :  11            *% (DestX)
  343.     XMOVE_REL_RT            :  12            *% (DestXRel)
  344.     XMOVE_REL_LF            :  13            *% (DestXRel)
  345.     YMOVE_ABS               :  14            *% (DestY)
  346.     YMOVE_REL_DN            :  15            *% (DestYRel)
  347.     YMOVE_REL_UP            :  16            *% (DestYRel)
  348.  
  349.     TEXT_PRN_DIRECTION      :  20            *% (PrintDirInCCDegrees)
  350.     TEXT_SINGLE_BYTE        :  21            *% (FontBold,FontItalic)
  351.     TEXT_DOUBLE_BYTE        :  22            *% (FontBold,FontItalic)
  352.     TEXT_BOLD               :  23            *% (FontBold)
  353.     TEXT_ITALIC             :  24            *% (FontItalic)
  354.     TEXT_HORIZONTAL         :  25            *% ()
  355.     TEXT_VERTICAL           :  26            *% ()
  356.     TEXT_NO_VPADJUST        :  27            *% ()
  357.     DOWNLOAD_SELECT_FONT_ID :  30            *% (CurrentFontID)
  358.     DOWNLOAD_DELETE_FONT    :  31            *% (CurrentFontID)
  359.     DOWNLOAD_DELETE_ALLFONT :  32            *% ()
  360.     DOWNLOAD_SET_FONT_ID    :  33            *% (CurrentFontID)
  361.     DOWNLOAD_SET_CHAR_CODE  :  34            *% (NextGlyph)
  362.  
  363.     SEND_BLOCK_DATA         :  40            *% (NumOfDataBytes,RasterDataWidthInBytes,RasterDataHeightInPixels)
  364.     SET_SRC_BMP_WIDTH       :  41            *% (RasterDataWidthInBytes)
  365.     SET_SRC_BMP_HEIGHT      :  42            *% (RasterDataHeightInPixels)
  366.     DEFINE_PALETTE_ENTRY    :  43            *% (PaletteIndexToProgram,RedValue,GreenValue,BlueValue)
  367.     SELECT_PALETTE_ENTRY    :  44            *% (CurrentPaletteIndex)
  368.     SET_RECT_WIDTH          :  45            *% (RectXSize)
  369.     SET_RECT_HEIGHT         :  46            *% (RectYSize)
  370.     COMPRESS_OFF            :  50            *% ()
  371.     COMPRESS_ON             :  51            *% ()
  372. }
  373.  
  374. *Macros: TTFDownloadCtrls
  375. {
  376.     DOWNLOAD_MIN_FONT_ID         :  512
  377.     DOWNLOAD_MIN_FONT_ID_0       :    0
  378.     DOWNLOAD_MIN_FONT_ID_NO_DBCS : 1536      *% 512 + 1024
  379.     DOWNLOAD_MAX_FONT_ID         :  535
  380.     DOWNLOAD_MAX_FONT_ID_10      :  521      *% 512 + 10 - 1
  381.     DOWNLOAD_MAX_FONT_ID_5       :  516      *% 512 + 5 - 1
  382.     DOWNLOAD_MAX_FONT_ID_0       :    0
  383.     DOWNLOAD_MAX_FONT_ID_NO_DBCS : 1559      *% 535 + 1024
  384.     DOWNLOAD_MAX_FONTS           :   24
  385.     DOWNLOAD_MAX_FONTS_10        :   10
  386.     DOWNLOAD_MAX_FONTS_5         :    5
  387.     DOWNLOAD_MAX_FONTS_0         :    0
  388.     DOWNLOAD_MIN_GLYPH_ID        :   32
  389.     DOWNLOAD_MAX_GLYPH_ID        :  543
  390. }
  391. *Macros: TTFSubstCtrls
  392. {
  393.     TTFS_ENABLED  : TRUE
  394. }
  395.  
  396. *% BlockMacros for PaperSize feature -- non DMS ----
  397. *BlockMacro: BM_PS_A3
  398. {
  399.     *rcNameID: =A3_DISPLAY
  400.     *switch: Orientation
  401.     {
  402.         *case: PORTRAIT
  403.         {
  404.             *PrintableArea: PAIR(13552, 19360)
  405.             *PrintableOrigin: PAIR(240, 240)
  406.             *CursorOrigin: PAIR(240, 240)
  407.             *switch: DMS
  408.             {
  409.                 *case: Disable
  410.                 {
  411.                     *Command: CmdSelect
  412.                     {
  413.                         *Order: DOC_SETUP.40
  414.                         *Cmd: "<1D>13psE"
  415.                     }
  416.                 }
  417.             }
  418.         }
  419.         *case: LANDSCAPE_CC90
  420.         {
  421.             *PrintableArea: PAIR(13552, 19360)
  422.             *PrintableOrigin: PAIR(240, 240)
  423.             *CursorOrigin: PAIR(240, 19600)
  424.             *switch: DMS
  425.             {
  426.                 *case: Disable
  427.                 {
  428.                     *Command: CmdSelect
  429.                     {
  430.                         *Order: DOC_SETUP.40
  431.                         *Cmd: "<1D>13psE<1D>1poE"
  432.                     }
  433.                 }
  434.             }
  435.         }
  436.     }
  437. }
  438. *BlockMacro: BM_PS_A4
  439. {
  440.     *rcNameID: =A4_DISPLAY
  441.     *switch: Orientation
  442.     {
  443.         *case: PORTRAIT
  444.         {
  445.             *PrintableArea: PAIR(9440, 13552)
  446.             *PrintableOrigin: PAIR(240, 240)
  447.             *CursorOrigin: PAIR(240, 240)
  448.             *switch: DMS
  449.             {
  450.                 *case: Disable
  451.                 {
  452.                     *Command: CmdSelect
  453.                     {
  454.                         *Order: DOC_SETUP.40
  455.                         *Cmd: "<1D>14psE"
  456.                     }
  457.                 }
  458.             }
  459.         }
  460.         *case: LANDSCAPE_CC90
  461.         {
  462.             *PrintableArea: PAIR(9440, 13552)
  463.             *PrintableOrigin: PAIR(240, 240)
  464.             *CursorOrigin: PAIR(240, 13792)
  465.             *switch: DMS
  466.             {
  467.                 *case: Disable
  468.                 {
  469.                     *Command: CmdSelect
  470.                     {
  471.                         *Order: DOC_SETUP.40
  472.                         *Cmd: "<1D>14psE<1D>1poE"
  473.                     }
  474.                 }
  475.             }
  476.         }
  477.     }
  478. }
  479. *BlockMacro: BM_PS_A5
  480. {
  481.     *rcNameID: =A5_DISPLAY
  482.     *switch: Orientation
  483.     {
  484.         *case: PORTRAIT
  485.         {
  486.             *PrintableArea: PAIR(6512, 9440)
  487.             *PrintableOrigin: PAIR(240, 240)
  488.             *CursorOrigin: PAIR(240, 240)
  489.             *switch: DMS
  490.             {
  491.                 *case: Disable
  492.                 {
  493.                     *Command: CmdSelect
  494.                     {
  495.                         *Order: DOC_SETUP.40
  496.                         *Cmd: "<1D>15psE"
  497.                     }
  498.                 }
  499.             }
  500.         }
  501.         *case: LANDSCAPE_CC90
  502.         {
  503.             *PrintableArea: PAIR(6512, 9440)
  504.             *PrintableOrigin: PAIR(240, 240)
  505.             *CursorOrigin: PAIR(240, 9680)
  506.             *switch: DMS
  507.             {
  508.                 *case: Disable
  509.                 {
  510.                     *Command: CmdSelect
  511.                     {
  512.                         *Order: DOC_SETUP.40
  513.                         *Cmd: "<1D>15psE<1D>1poE"
  514.                     }
  515.                 }
  516.             }
  517.         }
  518.     }
  519. }
  520. *BlockMacro: BM_PS_B5
  521. {
  522.     *rcNameID: =B5_DISPLAY
  523.     *switch: Orientation
  524.     {
  525.         *case: PORTRAIT
  526.         {
  527.             *PrintableArea: PAIR(8120, 11664)
  528.             *PrintableOrigin: PAIR(240, 240)
  529.             *CursorOrigin: PAIR(240, 240)
  530.             *switch: DMS
  531.             {
  532.                 *case: Disable
  533.                 {
  534.                     *Command: CmdSelect
  535.                     {
  536.                         *Order: DOC_SETUP.40
  537.                         *Cmd: "<1D>25psE"
  538.                     }
  539.                 }
  540.             }
  541.         }
  542.         *case: LANDSCAPE_CC90
  543.         {
  544.             *PrintableArea: PAIR(8120, 11664)
  545.             *PrintableOrigin: PAIR(240, 240)
  546.             *CursorOrigin: PAIR(240, 11904)
  547.             *switch: DMS
  548.             {
  549.                 *case: Disable
  550.                 {
  551.                     *Command: CmdSelect
  552.                     {
  553.                         *Order: DOC_SETUP.40
  554.                         *Cmd: "<1D>25psE<1D>1poE"
  555.                     }
  556.                 }
  557.             }
  558.         }
  559.     }
  560. }
  561. *BlockMacro: BM_PS_LT
  562. {
  563.     *rcNameID: =LETTER_DISPLAY
  564.     *switch: Orientation
  565.     {
  566.         *case: PORTRAIT
  567.         {
  568.             *PrintableArea: PAIR(9720, 12720)
  569.             *PrintableOrigin: PAIR(240, 240)
  570.             *CursorOrigin: PAIR(240, 240)
  571.             *switch: DMS
  572.             {
  573.                 *case: Disable
  574.                 {
  575.                     *Command: CmdSelect
  576.                     {
  577.                         *Order: DOC_SETUP.40
  578.                         *Cmd: "<1D>30psE"
  579.                     }
  580.                 }
  581.             }
  582.         }
  583.         *case: LANDSCAPE_CC90
  584.         {
  585.             *PrintableArea: PAIR(9720, 12720)
  586.             *PrintableOrigin: PAIR(240, 240)
  587.             *CursorOrigin: PAIR(240, 12960)
  588.             *switch: DMS
  589.             {
  590.                 *case: Disable
  591.                 {
  592.                     *Command: CmdSelect
  593.                     {
  594.                         *Order: DOC_SETUP.40
  595.                         *Cmd: "<1D>30psE<1D>1poE"
  596.                     }
  597.                 }
  598.             }
  599.         }
  600.     }
  601. }
  602. *BlockMacro: BM_PS_HLT
  603. {
  604.     *rcNameID: =RC_STR_HLT
  605.     *PageDimensions: PAIR(6600, 10200)
  606.     *switch: Orientation
  607.     {
  608.         *case: PORTRAIT
  609.         {
  610.             *PrintableArea: PAIR(6120, 9720)
  611.             *PrintableOrigin: PAIR(240, 240)
  612.             *CursorOrigin: PAIR(240, 240)
  613.             *switch: DMS
  614.             {
  615.                 *case: Disable
  616.                 {
  617.                     *Command: CmdSelect
  618.                     {
  619.                         *Order: DOC_SETUP.40
  620.                         *Cmd: "<1D>31psE"
  621.                     }
  622.                 }
  623.             }
  624.         }
  625.         *case: LANDSCAPE_CC90
  626.         {
  627.             *PrintableArea: PAIR(6120, 9720)
  628.             *PrintableOrigin: PAIR(240, 240)
  629.             *CursorOrigin: PAIR(240, 9960)
  630.             *switch: DMS
  631.             {
  632.                 *case: Disable
  633.                 {
  634.                     *Command: CmdSelect
  635.                     {
  636.                         *Order: DOC_SETUP.40
  637.                         *Cmd: "<1D>31psE<1D>1poE"
  638.                     }
  639.                 }
  640.             }
  641.         }
  642.     }
  643. }
  644. *BlockMacro: BM_PS_LGL
  645. {
  646.     *rcNameID: =LEGAL_DISPLAY
  647.     *switch: Orientation
  648.     {
  649.         *case: PORTRAIT
  650.         {
  651.             *PrintableArea: PAIR(9720, 16320)
  652.             *PrintableOrigin: PAIR(240, 240)
  653.             *CursorOrigin: PAIR(240, 240)
  654.             *switch: DMS
  655.             {
  656.                 *case: Disable
  657.                 {
  658.                     *Command: CmdSelect
  659.                     {
  660.                         *Order: DOC_SETUP.40
  661.                         *Cmd: "<1D>32psE"
  662.                     }
  663.                 }
  664.             }
  665.         }
  666.         *case: LANDSCAPE_CC90
  667.         {
  668.             *PrintableArea: PAIR(9720, 16320)
  669.             *PrintableOrigin: PAIR(240, 240)
  670.             *CursorOrigin: PAIR(240, 16560)
  671.             *switch: DMS
  672.             {
  673.                 *case: Disable
  674.                 {
  675.                     *Command: CmdSelect
  676.                     {
  677.                         *Order: DOC_SETUP.40
  678.                         *Cmd: "<1D>32psE<1D>1poE"
  679.                     }
  680.                 }
  681.             }
  682.         }
  683.     }
  684. }
  685. *BlockMacro: BM_PS_EXE
  686. {
  687.     *rcNameID: =EXECUTIVE_DISPLAY
  688.     *switch: Orientation
  689.     {
  690.         *case: PORTRAIT
  691.         {
  692.             *PrintableArea: PAIR(8220, 12120)
  693.             *PrintableOrigin: PAIR(240, 240)
  694.             *CursorOrigin: PAIR(240, 240)
  695.             *switch: DMS
  696.             {
  697.                 *case: Disable
  698.                 {
  699.                     *Command: CmdSelect
  700.                     {
  701.                         *Order: DOC_SETUP.40
  702.                         *Cmd: "<1D>33psE"
  703.                     }
  704.                 }
  705.             }
  706.         }
  707.         *case: LANDSCAPE_CC90
  708.         {
  709.             *PrintableArea: PAIR(8220, 12120)
  710.             *PrintableOrigin: PAIR(240, 240)
  711.             *CursorOrigin: PAIR(240, 12360)
  712.             *switch: DMS
  713.             {
  714.                 *case: Disable
  715.                 {
  716.                     *Command: CmdSelect
  717.                     {
  718.                         *Order: DOC_SETUP.40
  719.                         *Cmd: "<1D>33psE<1D>1poE"
  720.                     }
  721.                 }
  722.             }
  723.         }
  724.     }
  725. }
  726. *BlockMacro: BM_PS_GLG
  727. {
  728.     *rcNameID: =RC_STR_GLG
  729.     *PageDimensions: PAIR(10200, 15600)
  730.     *switch: Orientation
  731.     {
  732.         *case: PORTRAIT
  733.         {
  734.             *PrintableArea: PAIR(9720, 15120)
  735.             *PrintableOrigin: PAIR(240, 240)
  736.             *CursorOrigin: PAIR(240, 240)
  737.             *switch: DMS
  738.             {
  739.                 *case: Disable
  740.                 {
  741.                     *Command: CmdSelect
  742.                     {
  743.                         *Order: DOC_SETUP.40
  744.                         *Cmd: "<1D>34psE"
  745.                     }
  746.                 }
  747.             }
  748.         }
  749.         *case: LANDSCAPE_CC90
  750.         {
  751.             *PrintableArea: PAIR(9720, 15120)
  752.             *PrintableOrigin: PAIR(240, 240)
  753.             *CursorOrigin: PAIR(240, 15360)
  754.             *switch: DMS
  755.             {
  756.                 *case: Disable
  757.                 {
  758.                     *Command: CmdSelect
  759.                     {
  760.                         *Order: DOC_SETUP.40
  761.                         *Cmd: "<1D>34psE<1D>1poE"
  762.                     }
  763.                 }
  764.             }
  765.         }
  766.     }
  767. }
  768. *BlockMacro: BM_PS_GLT
  769. {
  770.     *rcNameID: =RC_STR_GLT
  771.     *PageDimensions: PAIR(9600, 12600)
  772.     *switch: Orientation
  773.     {
  774.         *case: PORTRAIT
  775.         {
  776.             *PrintableArea: PAIR(9120, 12120)
  777.             *PrintableOrigin: PAIR(240, 240)
  778.             *CursorOrigin: PAIR(240, 240)
  779.             *switch: DMS
  780.             {
  781.                 *case: Disable
  782.                 {
  783.                     *Command: CmdSelect
  784.                     {
  785.                         *Order: DOC_SETUP.40
  786.                         *Cmd: "<1D>35psE"
  787.                     }
  788.                 }
  789.             }
  790.         }
  791.         *case: LANDSCAPE_CC90
  792.         {
  793.             *PrintableArea: PAIR(9120, 12120)
  794.             *PrintableOrigin: PAIR(240, 240)
  795.             *CursorOrigin: PAIR(240, 12360)
  796.             *switch: DMS
  797.             {
  798.                 *case: Disable
  799.                 {
  800.                     *Command: CmdSelect
  801.                     {
  802.                         *Order: DOC_SETUP.40
  803.                         *Cmd: "<1D>35psE<1D>1poE"
  804.                     }
  805.                 }
  806.             }
  807.         }
  808.     }
  809. }
  810. *BlockMacro: BM_PS_F4
  811. {
  812.     *rcNameID: =RC_STR_F4
  813.     *PageDimensions: PAIR(9920, 15592)
  814.     *switch: Orientation
  815.     {
  816.         *case: PORTRAIT
  817.         {
  818.             *PrintableArea: PAIR(9440, 15112)
  819.             *PrintableOrigin: PAIR(240, 240)
  820.             *CursorOrigin: PAIR(240, 240)
  821.             *switch: DMS
  822.             {
  823.                 *case: Disable
  824.                 {
  825.                     *Command: CmdSelect
  826.                     {
  827.                         *Order: DOC_SETUP.40
  828.                         *Cmd: "<1D>37psE"
  829.                     }
  830.                 }
  831.             }
  832.         }
  833.         *case: LANDSCAPE_CC90
  834.         {
  835.             *PrintableArea: PAIR(9440, 15112)
  836.             *PrintableOrigin: PAIR(240, 240)
  837.             *CursorOrigin: PAIR(240, 15352)
  838.             *switch: DMS
  839.             {
  840.                 *case: Disable
  841.                 {
  842.                     *Command: CmdSelect
  843.                     {
  844.                         *Order: DOC_SETUP.40
  845.                         *Cmd: "<1D>37psE<1D>1poE"
  846.                     }
  847.                 }
  848.             }
  849.         }
  850.     }
  851. }
  852. *BlockMacro: BM_PS_MON
  853. {
  854.     *rcNameID: =ENV_MONARCH_DISPLAY
  855.     *switch: Orientation
  856.     {
  857.         *case: PORTRAIT
  858.         {
  859.             *PrintableArea: PAIR(4168, 8520)
  860.             *PrintableOrigin: PAIR(240, 240)
  861.             *CursorOrigin: PAIR(240, 240)
  862.             *switch: DMS
  863.             {
  864.                 *case: Disable
  865.                 {
  866.                     *Command: CmdSelect
  867.                     {
  868.                         *Order: DOC_SETUP.40
  869.                         *Cmd: "<1D>80psE"
  870.                     }
  871.                 }
  872.             }
  873.         }
  874.         *case: LANDSCAPE_CC90
  875.         {
  876.             *PrintableArea: PAIR(4168, 8520)
  877.             *PrintableOrigin: PAIR(240, 240)
  878.             *CursorOrigin: PAIR(240, 8760)
  879.             *switch: DMS
  880.             {
  881.                 *case: Disable
  882.                 {
  883.                     *Command: CmdSelect
  884.                     {
  885.                         *Order: DOC_SETUP.40
  886.                         *Cmd: "<1D>80psE<1D>1poE"
  887.                     }
  888.                 }
  889.             }
  890.         }
  891.     }
  892. }
  893. *BlockMacro: BM_PSB_E10
  894. {
  895.     *switch: Orientation
  896.     {
  897.         *case: PORTRAIT
  898.         {
  899.             *PrintableArea: PAIR(4468, 10920)
  900.             *PrintableOrigin: PAIR(240, 240)
  901.             *CursorOrigin: PAIR(240, 240)
  902.             *switch: DMS
  903.             {
  904.                 *case: Disable
  905.                 {
  906.                     *Command: CmdSelect
  907.                     {
  908.                         *Order: DOC_SETUP.40
  909.                         *Cmd: "<1D>81psE"
  910.                     }
  911.                 }
  912.             }
  913.         }
  914.         *case: LANDSCAPE_CC90
  915.         {
  916.             *PrintableArea: PAIR(4468, 10920)
  917.             *PrintableOrigin: PAIR(240, 240)
  918.             *CursorOrigin: PAIR(240, 11160)
  919.             *switch: DMS
  920.             {
  921.                 *case: Disable
  922.                 {
  923.                     *Command: CmdSelect
  924.                     {
  925.                         *Order: DOC_SETUP.40
  926.                         *Cmd: "<1D>81psE<1D>1poE"
  927.                     }
  928.                 }
  929.             }
  930.         }
  931.     }
  932. }
  933. *BlockMacro: BM_PS_C10
  934. {
  935.     *rcNameID: =RC_STR_C10
  936.     *PageDimensions: PAIR(4948, 11400)
  937.     *InsertBlock: =BM_PSB_E10
  938. }
  939. *BlockMacro: BM_PS_E10
  940. {
  941.     *rcNameID: =ENV_10_DISPLAY
  942.     *InsertBlock: =BM_PSB_E10
  943. }
  944. *BlockMacro: BM_PS_DL
  945. {
  946.     *rcNameID: =ENV_DL_DISPLAY
  947.     *switch: Orientation
  948.     {
  949.         *case: PORTRAIT
  950.         {
  951.             *PrintableArea: PAIR(4716, 9912)
  952.             *PrintableOrigin: PAIR(240, 240)
  953.             *CursorOrigin: PAIR(240, 240)
  954.             *switch: DMS
  955.             {
  956.                 *case: Disable
  957.                 {
  958.                     *Command: CmdSelect
  959.                     {
  960.                         *Order: DOC_SETUP.40
  961.                         *Cmd: "<1D>90psE"
  962.                     }
  963.                 }
  964.             }
  965.         }
  966.         *case: LANDSCAPE_CC90
  967.         {
  968.             *PrintableArea: PAIR(4716, 9912)
  969.             *PrintableOrigin: PAIR(240, 240)
  970.             *CursorOrigin: PAIR(240, 10152)
  971.             *switch: DMS
  972.             {
  973.                 *case: Disable
  974.                 {
  975.                     *Command: CmdSelect
  976.                     {
  977.                         *Order: DOC_SETUP.40
  978.                         *Cmd: "<1D>90psE<1D>1poE"
  979.                     }
  980.                 }
  981.             }
  982.         }
  983.     }
  984. }
  985. *BlockMacro: BM_PS_C5
  986. {
  987.     *rcNameID: =ENV_C5_DISPLAY
  988.     *switch: Orientation
  989.     {
  990.         *case: PORTRAIT
  991.         {
  992.             *PrintableArea: PAIR(7172, 10336)
  993.             *PrintableOrigin: PAIR(240, 240)
  994.             *CursorOrigin: PAIR(240, 240)
  995.             *switch: DMS
  996.             {
  997.                 *case: Disable
  998.                 {
  999.                     *Command: CmdSelect
  1000.                     {
  1001.                         *Order: DOC_SETUP.40
  1002.                         *Cmd: "<1D>91psE"
  1003.                     }
  1004.                 }
  1005.             }
  1006.         }
  1007.         *case: LANDSCAPE_CC90
  1008.         {
  1009.             *PrintableArea: PAIR(7172, 10336)
  1010.             *PrintableOrigin: PAIR(240, 240)
  1011.             *CursorOrigin: PAIR(240, 10576)
  1012.             *switch: DMS
  1013.             {
  1014.                 *case: Disable
  1015.                 {
  1016.                     *Command: CmdSelect
  1017.                     {
  1018.                         *Order: DOC_SETUP.40
  1019.                         *Cmd: "<1D>91psE<1D>1poE"
  1020.                     }
  1021.                 }
  1022.             }
  1023.         }
  1024.     }
  1025. }
  1026. *BlockMacro: BM_PS_LEDGER
  1027. {
  1028.     *rcNameID: =LEDGER_DISPLAY
  1029.     *PageDimensions: PAIR(13200, 20400)
  1030.     *switch: Orientation
  1031.     {
  1032.         *case: PORTRAIT
  1033.         {
  1034.             *PrintableArea: PAIR(12720, 19919)
  1035.             *PrintableOrigin: PAIR(240, 240)
  1036.             *CursorOrigin: PAIR(240, 240)
  1037.             *switch: DMS
  1038.             {
  1039.                 *case: Disable
  1040.                 {
  1041.                     *Command: CmdSelect
  1042.                     {
  1043.                         *Order: DOC_SETUP.40
  1044.                         *Cmd: "<1D>36psE"
  1045.                     }
  1046.                 }
  1047.             }
  1048.         }
  1049.         *case: LANDSCAPE_CC90
  1050.         {
  1051.             *PrintableArea: PAIR(12720, 19920)
  1052.             *PrintableOrigin: PAIR(240, 240)
  1053.             *CursorOrigin: PAIR(240, 20160)
  1054.             *switch: DMS
  1055.             {
  1056.                 *case: Disable
  1057.                 {
  1058.                     *Command: CmdSelect
  1059.                     {
  1060.                         *Order: DOC_SETUP.40
  1061.                         *Cmd: "<1D>36psE<1D>1poE"
  1062.                     }
  1063.                 }
  1064.             }
  1065.         }
  1066.     }
  1067. }
  1068. *BlockMacro: BM_PS_LEDGER_PORTRAIT
  1069. {
  1070.     *rcNameID: =RC_STR_LDGPOR
  1071.     *PageDimensions: PAIR(13200, 20400)
  1072.     *switch: Orientation
  1073.     {
  1074.         *case: PORTRAIT
  1075.         {
  1076.             *PrintableArea: PAIR(12720, 19920)
  1077.             *PrintableOrigin: PAIR(240, 240)
  1078.             *CursorOrigin: PAIR(240, 240)
  1079.             *switch: DMS
  1080.             {
  1081.                 *case: Disable
  1082.                 {
  1083.                     *Command: CmdSelect
  1084.                     {
  1085.                         *Order: DOC_SETUP.40
  1086.                         *Cmd: "<1D>36psE"
  1087.                     }
  1088.                 }
  1089.             }
  1090.         }
  1091.         *case: LANDSCAPE_CC90
  1092.         {
  1093.             *PrintableArea: PAIR(12720, 19920)
  1094.             *PrintableOrigin: PAIR(240, 240)
  1095.             *CursorOrigin: PAIR(240, 20160)
  1096.             *switch: DMS
  1097.             {
  1098.                 *case: Disable
  1099.                 {
  1100.                     *Command: CmdSelect
  1101.                     {
  1102.                         *Order: DOC_SETUP.40
  1103.                         *Cmd: "<1D>36psE<1D>1poE"
  1104.                     }
  1105.                 }
  1106.             }
  1107.         }
  1108.     }
  1109. }
  1110. *BlockMacro: BM_PS_TBLD
  1111. {
  1112.     *rcNameID: =TABLOID_DISPLAY
  1113.     *switch: Orientation
  1114.     {
  1115.         *case: PORTRAIT
  1116.         {
  1117.             *PrintableArea: PAIR(12720, 19920)
  1118.             *PrintableOrigin: PAIR(240, 240)
  1119.             *CursorOrigin: PAIR(240, 240)
  1120.             *switch: DMS
  1121.             {
  1122.                 *case: Disable
  1123.                 {
  1124.                     *Command: CmdSelect
  1125.                     {
  1126.                         *Order: DOC_SETUP.40
  1127.                         *Cmd: "<1D>36psE"
  1128.                     }
  1129.                 }
  1130.             }
  1131.         }
  1132.         *case: LANDSCAPE_CC90
  1133.         {
  1134.             *PrintableArea: PAIR(12720, 19920)
  1135.             *PrintableOrigin: PAIR(240, 240)
  1136.             *CursorOrigin: PAIR(240, 20160)
  1137.             *switch: DMS
  1138.             {
  1139.                 *case: Disable
  1140.                 {
  1141.                     *Command: CmdSelect
  1142.                     {
  1143.                         *Order: DOC_SETUP.40
  1144.                         *Cmd: "<1D>36psE<1D>1poE"
  1145.                     }
  1146.                 }
  1147.             }
  1148.         }
  1149.     }
  1150. }
  1151. *BlockMacro: BM_PS_B4
  1152. {
  1153.     *rcNameID: =B4_DISPLAY
  1154.     *switch: Orientation
  1155.     {
  1156.         *case: PORTRAIT
  1157.         {
  1158.             *PrintableArea: PAIR(11664, 16720)
  1159.             *PrintableOrigin: PAIR(240, 240)
  1160.             *CursorOrigin: PAIR(240, 240)
  1161.             *switch: DMS
  1162.             {
  1163.                 *case: Disable
  1164.                 {
  1165.                     *Command: CmdSelect
  1166.                     {
  1167.                         *Order: DOC_SETUP.40
  1168.                         *Cmd: "<1D>24psE"
  1169.                     }
  1170.                 }
  1171.             }
  1172.         }
  1173.         *case: LANDSCAPE_CC90
  1174.         {
  1175.             *PrintableArea: PAIR(11664, 16720)
  1176.             *PrintableOrigin: PAIR(240, 240)
  1177.             *CursorOrigin: PAIR(240, 16960)
  1178.             *switch: DMS
  1179.             {
  1180.                 *case: Disable
  1181.                 {
  1182.                     *Command: CmdSelect
  1183.                     {
  1184.                         *Order: DOC_SETUP.40
  1185.                         *Cmd: "<1D>24psE<1D>1poE"
  1186.                     }
  1187.                 }
  1188.             }
  1189.         }
  1190.     }
  1191. }
  1192. *BlockMacro: BM_PSB_CTM
  1193. {
  1194.     *switch: Orientation
  1195.     {
  1196.         *case: PORTRAIT
  1197.         {
  1198.             *CustCursorOriginX:  %d{240}
  1199.             *CustCursorOriginY:   %d{240}
  1200.             *CustPrintableOriginX:  %d{240}
  1201.             *CustPrintableOriginY:  %d{240}
  1202.             *CustPrintableSizeX:   %d{ PhysPaperWidth - 480 }
  1203.             *CustPrintableSizeY:  %d{ PhysPaperLength - 480 }
  1204.             *switch: DMS
  1205.             {
  1206.                 *case: Disable
  1207.                 {
  1208.                     *Command: CmdSelect
  1209.                     {
  1210.                         *Order: DOC_SETUP.40
  1211.                         *Cmd: "<1D>-1;" %d{(PhysPaperWidth / 2) }";" %d{(PhysPaperLength / 2) }"psE"
  1212.                     }
  1213.                 }
  1214.             }
  1215.         }
  1216.         *case: LANDSCAPE_CC90
  1217.         {
  1218.             *CustCursorOriginX:  %d{240}
  1219.             *CustCursorOriginY:   %d{PhysPaperLength - 240}
  1220.             *CustPrintableOriginX:  %d{240}
  1221.             *CustPrintableOriginY:  %d{240}
  1222.             *CustPrintableSizeX:   %d{ PhysPaperWidth - 480 }
  1223.             *CustPrintableSizeY:  %d{ PhysPaperLength - 480 }
  1224.             *switch: DMS
  1225.             {
  1226.                 *case: Disable
  1227.                 {
  1228.                     *Command: CmdSelect
  1229.                     {
  1230.                         *Order: DOC_SETUP.40
  1231.                         *Cmd: "<1D>-1;" %d{(PhysPaperWidth / 2) }";" %d{(PhysPaperLength / 2) }"psE<1D>1poE"
  1232.                     }
  1233.                 }
  1234.             }
  1235.         }
  1236.     }
  1237. }
  1238.  
  1239.  
  1240. *% BlockMacros for PaperSize feature:Japanese
  1241. *BlockMacro: BM_PS_POST
  1242. {
  1243.     *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  1244.     *switch: Orientation
  1245.     {
  1246.         *case: PORTRAIT
  1247.         {
  1248.             *PrintableArea: PAIR(4244, 6512)
  1249.             *PrintableOrigin: PAIR(240, 240)
  1250.             *CursorOrigin: PAIR(240, 240)
  1251.             *switch: DMS
  1252.             {
  1253.                 *case: Disable
  1254.                 {
  1255.                     *Command: CmdSelect
  1256.                     {
  1257.                         *Order: DOC_SETUP.40
  1258.                         *Cmd: "<1D>38psE"
  1259.                     }
  1260.                 }
  1261.             }
  1262.         }
  1263.         *case: LANDSCAPE_CC90
  1264.         {
  1265.             *PrintableArea: PAIR(4244, 6512)
  1266.             *PrintableOrigin: PAIR(240, 240)
  1267.             *CursorOrigin: PAIR(240, 6752)
  1268.             *switch: DMS
  1269.             {
  1270.                 *case: Disable
  1271.                 {
  1272.                     *Command: CmdSelect
  1273.                     {
  1274.                         *Order: DOC_SETUP.40
  1275.                         *Cmd: "<1D>38psE<1D>1poE"
  1276.                     }
  1277.                 }
  1278.             }
  1279.         }
  1280.     }
  1281. }
  1282. *BlockMacro: BM_PS_A3W
  1283. {
  1284.     *rcNameID: =RC_STR_A3W
  1285.     *PageDimensions: PAIR(15496, 21400)
  1286.     *switch: Orientation
  1287.     {
  1288.         *case: PORTRAIT
  1289.         {
  1290.             *PrintableArea: PAIR(15016, 20920)
  1291.             *PrintableOrigin: PAIR(240, 240)
  1292.             *CursorOrigin: PAIR(240, 240)
  1293.             *switch: DMS
  1294.             {
  1295.                 *case: Disable
  1296.                 {
  1297.                     *Command: CmdSelect
  1298.                     {
  1299.                         *Order: DOC_SETUP.40
  1300.                         *Cmd: "<1D>75psE"
  1301.                     }
  1302.                 }
  1303.             }
  1304.         }
  1305.         *case: LANDSCAPE_CC90
  1306.         {
  1307.             *PrintableArea: PAIR(15016, 20920)
  1308.             *PrintableOrigin: PAIR(240, 240)
  1309.             *CursorOrigin: PAIR(240, 21160)
  1310.             *switch: DMS
  1311.             {
  1312.                 *case: Disable
  1313.                 {
  1314.                     *Command: CmdSelect
  1315.                     {
  1316.                         *Order: DOC_SETUP.40
  1317.                         *Cmd: "<1D>75psE<1D>1poE"
  1318.                     }
  1319.                 }
  1320.             }
  1321.         }
  1322.     }
  1323. }
  1324. *BlockMacro: BM_PS_A3P
  1325. {
  1326.     *rcNameID: =RC_STR_A3P
  1327.     *PageDimensions: PAIR(15540, 22816)
  1328.     *switch: Orientation
  1329.     {
  1330.         *case: PORTRAIT
  1331.         {
  1332.             *PrintableArea: PAIR(15060, 22336)
  1333.             *PrintableOrigin: PAIR(240, 240)
  1334.             *CursorOrigin: PAIR(240, 240)
  1335.             *switch: DMS
  1336.             {
  1337.                 *case: Disable
  1338.                 {
  1339.                     *Command: CmdSelect
  1340.                     {
  1341.                         *Order: DOC_SETUP.40
  1342.                         *Cmd: "<1D>72psE"
  1343.                     }
  1344.                 }
  1345.             }
  1346.         }
  1347.         *case: LANDSCAPE_CC90
  1348.         {
  1349.             *PrintableArea: PAIR(15060, 22336)
  1350.             *PrintableOrigin: PAIR(240, 240)
  1351.             *CursorOrigin: PAIR(240, 22576)
  1352.             *switch: DMS
  1353.             {
  1354.                 *case: Disable
  1355.                 {
  1356.                     *Command: CmdSelect
  1357.                     {
  1358.                         *Order: DOC_SETUP.40
  1359.                         *Cmd: "<1D>72psE<1D>1poE"
  1360.                     }
  1361.                 }
  1362.             }
  1363.         }
  1364.     }
  1365. }
  1366.  
  1367. *BlockMacro: BM_PS_A3N
  1368. {
  1369.     *rcNameID: =RC_STR_A3P
  1370.     *PageDimensions: PAIR(15540, 22816)
  1371.     *switch: Orientation
  1372.     {
  1373.         *case: PORTRAIT
  1374.         {
  1375.             *PrintableArea: PAIR(15060, 22336)
  1376.             *PrintableOrigin: PAIR(240, 240)
  1377.             *CursorOrigin: PAIR(240, 240)
  1378.             *switch: DMS
  1379.             {
  1380.                 *case: Disable
  1381.                 {
  1382.                     *Command: CmdSelect
  1383.                     {
  1384.                         *Order: DOC_SETUP.40
  1385.                         *Cmd: "<1D>72psE"
  1386.                     }
  1387.                 }
  1388.             }
  1389.         }
  1390.         *case: LANDSCAPE_CC90
  1391.         {
  1392.             *PrintableArea: PAIR(15060, 22336)
  1393.             *PrintableOrigin: PAIR(240, 240)
  1394.             *CursorOrigin: PAIR(240, 22576)
  1395.             *switch: DMS
  1396.             {
  1397.                 *case: Disable
  1398.                 {
  1399.                     *Command: CmdSelect
  1400.                     {
  1401.                         *Order: DOC_SETUP.40
  1402.                         *Cmd: "<1D>72psE<1D>1poE"
  1403.                     }
  1404.                 }
  1405.             }
  1406.         }
  1407.     }
  1408. }
  1409.  
  1410. *BlockMacro: BM_PS_IB5
  1411. {
  1412.     *rcNameID: =RC_STR_IB5
  1413.     *PageDimensions: PAIR(8312, 11610)
  1414.     *switch: Orientation
  1415.     {
  1416.         *case: PORTRAIT
  1417.         {
  1418.             *PrintableArea: PAIR(7832, 11128)
  1419.             *PrintableOrigin: PAIR(240, 240)
  1420.             *CursorOrigin: PAIR(240, 240)
  1421.             *switch: DMS
  1422.             {
  1423.                 *case: Disable
  1424.                 {
  1425.                     *Command: CmdSelect
  1426.                     {
  1427.                         *Order: DOC_SETUP.40
  1428.                         *Cmd: "<1D>99psE"
  1429.                     }
  1430.                 }
  1431.             }
  1432.         }
  1433.         *case: LANDSCAPE_CC90
  1434.         {
  1435.             *PrintableArea: PAIR(7832, 11128)
  1436.             *PrintableOrigin: PAIR(240, 240)
  1437.             *CursorOrigin: PAIR(240, 11368)
  1438.             *switch: DMS
  1439.             {
  1440.                 *case: Disable
  1441.                 {
  1442.                     *Command: CmdSelect
  1443.                     {
  1444.                         *Order: DOC_SETUP.40
  1445.                         *Cmd: "<1D>99psE<1D>1poE"
  1446.                     }
  1447.                 }
  1448.             }
  1449.         }
  1450.     }
  1451. }
  1452.  
  1453. *BlockMacro: BM_PS_ENV_C6
  1454. {
  1455.     *rcNameID: =ENV_C6_DISPLAY
  1456.     *switch: Orientation
  1457.     {
  1458.         *case: PORTRAIT
  1459.         {
  1460.             *PrintableArea: PAIR(4904, 7172)
  1461.             *PrintableOrigin: PAIR(240, 240)
  1462.             *CursorOrigin: PAIR(240, 240)
  1463.             *switch: DMS
  1464.             {
  1465.                 *case: Disable
  1466.                 {
  1467.                     *Command: CmdSelect
  1468.                     {
  1469.                         *Order: DOC_SETUP.40
  1470.                         *Cmd: "<1D>92psE"
  1471.                     }
  1472.                 }
  1473.             }
  1474.         }
  1475.         *case: LANDSCAPE_CC90
  1476.         {
  1477.             *PrintableArea: PAIR(4904, 7172)
  1478.             *PrintableOrigin: PAIR(240, 240)
  1479.             *CursorOrigin: PAIR(240, 7412)
  1480.             *switch: DMS
  1481.             {
  1482.                 *case: Disable
  1483.                 {
  1484.                     *Command: CmdSelect
  1485.                     {
  1486.                         *Order: DOC_SETUP.40
  1487.                         *Cmd: "<1D>92psE<1D>1poE"
  1488.                     }
  1489.                 }
  1490.             }
  1491.         }
  1492.     }
  1493. }
  1494.  
  1495. *BlockMacro: BM_PS_YOU0
  1496. {
  1497.     *rcNameID: =RC_STR_YENV0
  1498.     *PageDimensions: PAIR(5668, 11100)
  1499.     *switch: Orientation
  1500.     {
  1501.         *case: PORTRAIT
  1502.         {
  1503.             *PrintableArea: PAIR(5188, 10620)
  1504.             *PrintableOrigin: PAIR(240, 240)
  1505.             *CursorOrigin: PAIR(240, 240)
  1506.             *switch: DMS
  1507.             {
  1508.                 *case: Disable
  1509.                 {
  1510.                     *Command: CmdSelect
  1511.                     {
  1512.                         *Order: DOC_SETUP.40
  1513.                         *Cmd: "<1D>60psE"
  1514.                     }
  1515.                 }
  1516.             }
  1517.         }
  1518.         *case: LANDSCAPE_CC90
  1519.         {
  1520.             *PrintableArea: PAIR(5188, 10620)
  1521.             *PrintableOrigin: PAIR(240, 240)
  1522.             *CursorOrigin: PAIR(240, 10860)
  1523.             *switch: DMS
  1524.             {
  1525.                 *case: Disable
  1526.                 {
  1527.                     *Command: CmdSelect
  1528.                     {
  1529.                         *Order: DOC_SETUP.40
  1530.                         *Cmd: "<1D>60psE<1D>1poE"
  1531.                     }
  1532.                 }
  1533.             }
  1534.         }
  1535.     }
  1536. }
  1537.  
  1538. *BlockMacro: BM_PS_YOU4
  1539. {
  1540.     *rcNameID: =RC_STR_YENV4
  1541.     *PageDimensions: PAIR(4960, 11100)
  1542.     *switch: Orientation
  1543.     {
  1544.         *case: PORTRAIT
  1545.         {
  1546.             *PrintableArea: PAIR(4480, 10620)
  1547.             *PrintableOrigin: PAIR(240, 240)
  1548.             *CursorOrigin: PAIR(240, 240)
  1549.             *switch: DMS
  1550.             {
  1551.                 *case: Disable
  1552.                 {
  1553.                     *Command: CmdSelect
  1554.                     {
  1555.                         *Order: DOC_SETUP.40
  1556.                         *Cmd: "<1D>64psE"
  1557.                     }
  1558.                 }
  1559.             }
  1560.         }
  1561.         *case: LANDSCAPE_CC90
  1562.         {
  1563.             *PrintableArea: PAIR(4480, 10620)
  1564.             *PrintableOrigin: PAIR(240, 240)
  1565.             *CursorOrigin: PAIR(240, 10860)
  1566.             *switch: DMS
  1567.             {
  1568.                 *case: Disable
  1569.                 {
  1570.                     *Command: CmdSelect
  1571.                     {
  1572.                         *Order: DOC_SETUP.40
  1573.                         *Cmd: "<1D>64psE<1D>1poE"
  1574.                     }
  1575.                 }
  1576.             }
  1577.         }
  1578.     }
  1579. }
  1580.  
  1581. *BlockMacro: BM_PS_YOU6
  1582. {
  1583.     *rcNameID: =RC_STR_YENV6
  1584.     *PageDimensions: PAIR(4628, 8976)
  1585.     *switch: Orientation
  1586.     {
  1587.         *case: PORTRAIT
  1588.         {
  1589.             *PrintableArea: PAIR(4148, 8496)
  1590.             *PrintableOrigin: PAIR(240, 240)
  1591.             *CursorOrigin: PAIR(240, 240)
  1592.             *switch: DMS
  1593.             {
  1594.                 *case: Disable
  1595.                 {
  1596.                     *Command: CmdSelect
  1597.                     {
  1598.                         *Order: DOC_SETUP.40
  1599.                         *Cmd: "<1D>66psE"
  1600.                     }
  1601.                 }
  1602.             }
  1603.         }
  1604.         *case: LANDSCAPE_CC90
  1605.         {
  1606.             *PrintableArea: PAIR(4148, 8496)
  1607.             *PrintableOrigin: PAIR(240, 240)
  1608.             *CursorOrigin: PAIR(240, 8736)
  1609.             *switch: DMS
  1610.             {
  1611.                 *case: Disable
  1612.                 {
  1613.                     *Command: CmdSelect
  1614.                     {
  1615.                         *Order: DOC_SETUP.40
  1616.                         *Cmd: "<1D>66psE<1D>1poE"
  1617.                     }
  1618.                 }
  1619.             }
  1620.         }
  1621.     }
  1622. }
  1623.  
  1624. *% BlockMacros for Color features
  1625. *BlockMacro: BM_GAMMA_ADJUSTMENT
  1626. {
  1627.     *switch: DeviceGammaAdjustmentBrightness
  1628.     {
  1629.         *case: DriverDefault {}
  1630.         *case: Dark2
  1631.         {   *% 0.6
  1632.             *switch: DeviceGammaAdjustmentChroma
  1633.             {
  1634.                 *case: Flat
  1635.                 {
  1636.                      *RedDeviceGamma: 6000
  1637.                      *GreenDeviceGamma: 6000
  1638.                      *BlueDeviceGamma: 6000
  1639.                 }
  1640.                 *case: Low
  1641.                 {   *% +5% (+300)
  1642.                     *switch: DeviceGammaAdjustmentHue
  1643.                     {
  1644.                         *case: Yellow
  1645.                         {
  1646.                             *RedDeviceGamma: 6300
  1647.                             *GreenDeviceGamma: 6300
  1648.                             *BlueDeviceGamma: 6000
  1649.                         }
  1650.                         *case: YellowishGreen
  1651.                         {
  1652.                             *RedDeviceGamma: 6150
  1653.                             *GreenDeviceGamma: 6300
  1654.                             *BlueDeviceGamma: 6000
  1655.                         }
  1656.                         *case: Green
  1657.                         {
  1658.                             *RedDeviceGamma: 6000
  1659.                             *GreenDeviceGamma: 6300
  1660.                             *BlueDeviceGamma: 6000
  1661.                         }
  1662.                         *case: BluishGreen
  1663.                         {
  1664.                             *RedDeviceGamma: 6000
  1665.                             *GreenDeviceGamma: 6300
  1666.                             *BlueDeviceGamma: 6150
  1667.                         }
  1668.                         *case: GreenishBlue
  1669.                         {
  1670.                             *RedDeviceGamma: 6000
  1671.                             *GreenDeviceGamma: 6150
  1672.                             *BlueDeviceGamma: 6300
  1673.                         }
  1674.                         *case: Blue
  1675.                         {
  1676.                             *RedDeviceGamma: 6000
  1677.                             *GreenDeviceGamma: 6000
  1678.                             *BlueDeviceGamma: 6300
  1679.                         }
  1680.                         *case: BluishPurple
  1681.                         {
  1682.                             *RedDeviceGamma: 6150
  1683.                             *GreenDeviceGamma: 6000
  1684.                             *BlueDeviceGamma: 6300
  1685.                         }
  1686.                         *case: Purple
  1687.                         {
  1688.                             *RedDeviceGamma: 6300
  1689.                             *GreenDeviceGamma: 6000
  1690.                             *BlueDeviceGamma: 6300
  1691.                         }
  1692.                         *case: ReddishPurple
  1693.                         {
  1694.                             *RedDeviceGamma: 6300
  1695.                             *GreenDeviceGamma: 6000
  1696.                             *BlueDeviceGamma: 6150
  1697.                         }
  1698.                         *case: Red
  1699.                         {
  1700.                             *RedDeviceGamma: 6300
  1701.                             *GreenDeviceGamma: 6000
  1702.                             *BlueDeviceGamma: 6000
  1703.                         }
  1704.                         *case: Orange
  1705.                         {
  1706.                             *RedDeviceGamma: 6300
  1707.                             *GreenDeviceGamma: 6150
  1708.                             *BlueDeviceGamma: 6000
  1709.                         }
  1710.                         *case: YellowishOrange
  1711.                         {
  1712.                             *RedDeviceGamma: 6300
  1713.                             *GreenDeviceGamma: 6225
  1714.                             *BlueDeviceGamma: 6000
  1715.                         }
  1716.                     }
  1717.                 }
  1718.                 *case: Medium
  1719.                 {   *% +10% (+600)
  1720.                     *switch: DeviceGammaAdjustmentHue
  1721.                     {
  1722.                         *case: Yellow
  1723.                         {
  1724.                             *RedDeviceGamma: 6600
  1725.                             *GreenDeviceGamma: 6600
  1726.                             *BlueDeviceGamma: 6000
  1727.                         }
  1728.                         *case: YellowishGreen
  1729.                         {
  1730.                             *RedDeviceGamma: 6300
  1731.                             *GreenDeviceGamma: 6600
  1732.                             *BlueDeviceGamma: 6000
  1733.                         }
  1734.                         *case: Green
  1735.                         {
  1736.                             *RedDeviceGamma: 6000
  1737.                             *GreenDeviceGamma: 6600
  1738.                             *BlueDeviceGamma: 6000
  1739.                         }
  1740.                         *case: BluishGreen
  1741.                         {
  1742.                             *RedDeviceGamma: 6000
  1743.                             *GreenDeviceGamma: 6600
  1744.                             *BlueDeviceGamma: 6300
  1745.                         }
  1746.                         *case: GreenishBlue
  1747.                         {
  1748.                             *RedDeviceGamma: 6000
  1749.                             *GreenDeviceGamma: 6300
  1750.                             *BlueDeviceGamma: 6600
  1751.                         }
  1752.                         *case: Blue
  1753.                         {
  1754.                             *RedDeviceGamma: 6000
  1755.                             *GreenDeviceGamma: 6000
  1756.                             *BlueDeviceGamma: 6600
  1757.                         }
  1758.                         *case: BluishPurple
  1759.                         {
  1760.                             *RedDeviceGamma: 6300
  1761.                             *GreenDeviceGamma: 6000
  1762.                             *BlueDeviceGamma: 6600
  1763.                         }
  1764.                         *case: Purple
  1765.                         {
  1766.                             *RedDeviceGamma: 6600
  1767.                             *GreenDeviceGamma: 6000
  1768.                             *BlueDeviceGamma: 6600
  1769.                         }
  1770.                         *case: ReddishPurple
  1771.                         {
  1772.                             *RedDeviceGamma: 6600
  1773.                             *GreenDeviceGamma: 6000
  1774.                             *BlueDeviceGamma: 6300
  1775.                         }
  1776.                         *case: Red
  1777.                         {
  1778.                             *RedDeviceGamma: 6600
  1779.                             *GreenDeviceGamma: 6000
  1780.                             *BlueDeviceGamma: 6000
  1781.                         }
  1782.                         *case: Orange
  1783.                         {
  1784.                             *RedDeviceGamma: 6600
  1785.                             *GreenDeviceGamma: 6300
  1786.                             *BlueDeviceGamma: 6000
  1787.                         }
  1788.                         *case: YellowishOrange
  1789.                         {
  1790.                             *RedDeviceGamma: 6600
  1791.                             *GreenDeviceGamma: 6450
  1792.                             *BlueDeviceGamma: 6000
  1793.                         }
  1794.                     }
  1795.                 }
  1796.                 *case: High
  1797.                 {   *% +20% (+1200)
  1798.                     *switch: DeviceGammaAdjustmentHue
  1799.                     {
  1800.                         *case: Yellow
  1801.                         {
  1802.                             *RedDeviceGamma: 7200
  1803.                             *GreenDeviceGamma: 7200
  1804.                             *BlueDeviceGamma: 6000
  1805.                         }
  1806.                         *case: YellowishGreen
  1807.                         {
  1808.                             *RedDeviceGamma: 6600
  1809.                             *GreenDeviceGamma: 7200
  1810.                             *BlueDeviceGamma: 6000
  1811.                         }
  1812.                         *case: Green
  1813.                         {
  1814.                             *RedDeviceGamma: 6000
  1815.                             *GreenDeviceGamma: 7200
  1816.                             *BlueDeviceGamma: 6000
  1817.                         }
  1818.                         *case: BluishGreen
  1819.                         {
  1820.                             *RedDeviceGamma: 6000
  1821.                             *GreenDeviceGamma: 7200
  1822.                             *BlueDeviceGamma: 6600
  1823.                         }
  1824.                         *case: GreenishBlue
  1825.                         {
  1826.                             *RedDeviceGamma: 6000
  1827.                             *GreenDeviceGamma: 6600
  1828.                             *BlueDeviceGamma: 7200
  1829.                         }
  1830.                         *case: Blue
  1831.                         {
  1832.                             *RedDeviceGamma: 6000
  1833.                             *GreenDeviceGamma: 6000
  1834.                             *BlueDeviceGamma: 6600
  1835.                         }
  1836.                         *case: BluishPurple
  1837.                         {
  1838.                             *RedDeviceGamma: 6600
  1839.                             *GreenDeviceGamma: 6000
  1840.                             *BlueDeviceGamma: 7200
  1841.                         }
  1842.                         *case: Purple
  1843.                         {
  1844.                             *RedDeviceGamma: 7200
  1845.                             *GreenDeviceGamma: 6000
  1846.                             *BlueDeviceGamma: 7200
  1847.                         }
  1848.                         *case: ReddishPurple
  1849.                         {
  1850.                             *RedDeviceGamma: 7200
  1851.                             *GreenDeviceGamma: 6000
  1852.                             *BlueDeviceGamma: 6600
  1853.                         }
  1854.                         *case: Red
  1855.                         {
  1856.                             *RedDeviceGamma: 7200
  1857.                             *GreenDeviceGamma: 6000
  1858.                             *BlueDeviceGamma: 6000
  1859.                         }
  1860.                         *case: Orange
  1861.                         {
  1862.                             *RedDeviceGamma: 7200
  1863.                             *GreenDeviceGamma: 6600
  1864.                             *BlueDeviceGamma: 6000
  1865.                         }
  1866.                         *case: YellowishOrange
  1867.                         {
  1868.                             *RedDeviceGamma: 7200
  1869.                             *GreenDeviceGamma: 6900
  1870.                             *BlueDeviceGamma: 6000
  1871.                         }
  1872.                     }
  1873.                 }
  1874.             }
  1875.         }
  1876.         *case: Dark1
  1877.         {   *% 0.7
  1878.             *switch: DeviceGammaAdjustmentChroma
  1879.             {
  1880.                 *case: Flat
  1881.                 {
  1882.                      *RedDeviceGamma: 7000
  1883.                      *GreenDeviceGamma: 7000
  1884.                      *BlueDeviceGamma: 7000
  1885.                 }
  1886.                 *case: Low
  1887.                 {   *% +5% (+350)
  1888.                     *switch: DeviceGammaAdjustmentHue
  1889.                     {
  1890.                         *case: Yellow
  1891.                         {
  1892.                             *RedDeviceGamma: 7350
  1893.                             *GreenDeviceGamma: 7350
  1894.                             *BlueDeviceGamma: 7000
  1895.                         }
  1896.                         *case: YellowishGreen
  1897.                         {
  1898.                             *RedDeviceGamma: 7175
  1899.                             *GreenDeviceGamma: 7350
  1900.                             *BlueDeviceGamma: 7000
  1901.                         }
  1902.                         *case: Green
  1903.                         {
  1904.                             *RedDeviceGamma: 7000
  1905.                             *GreenDeviceGamma: 7350
  1906.                             *BlueDeviceGamma: 7000
  1907.                         }
  1908.                         *case: BluishGreen
  1909.                         {
  1910.                             *RedDeviceGamma: 7000
  1911.                             *GreenDeviceGamma: 7350
  1912.                             *BlueDeviceGamma: 7175
  1913.                         }
  1914.                         *case: GreenishBlue
  1915.                         {
  1916.                             *RedDeviceGamma: 7000
  1917.                             *GreenDeviceGamma: 7175
  1918.                             *BlueDeviceGamma: 7350
  1919.                         }
  1920.                         *case: Blue
  1921.                         {
  1922.                             *RedDeviceGamma: 7000
  1923.                             *GreenDeviceGamma: 7000
  1924.                             *BlueDeviceGamma: 7350
  1925.                         }
  1926.                         *case: BluishPurple
  1927.                         {
  1928.                             *RedDeviceGamma: 7175
  1929.                             *GreenDeviceGamma: 7000
  1930.                             *BlueDeviceGamma: 7350
  1931.                         }
  1932.                         *case: Purple
  1933.                         {
  1934.                             *RedDeviceGamma: 7350
  1935.                             *GreenDeviceGamma: 7000
  1936.                             *BlueDeviceGamma: 7350
  1937.                         }
  1938.                         *case: ReddishPurple
  1939.                         {
  1940.                             *RedDeviceGamma: 7350
  1941.                             *GreenDeviceGamma: 7000
  1942.                             *BlueDeviceGamma: 7175
  1943.                         }
  1944.                         *case: Red
  1945.                         {
  1946.                             *RedDeviceGamma: 7350
  1947.                             *GreenDeviceGamma: 7000
  1948.                             *BlueDeviceGamma: 7000
  1949.                         }
  1950.                         *case: Orange
  1951.                         {
  1952.                             *RedDeviceGamma: 7350
  1953.                             *GreenDeviceGamma: 7175
  1954.                             *BlueDeviceGamma: 7000
  1955.                         }
  1956.                         *case: YellowishOrange
  1957.                         {
  1958.                             *RedDeviceGamma: 7350
  1959.                             *GreenDeviceGamma: 7263
  1960.                             *BlueDeviceGamma: 7000
  1961.                         }
  1962.                     }
  1963.                 }
  1964.                 *case: Medium
  1965.                 {   *% +10% (+700)
  1966.                     *switch: DeviceGammaAdjustmentHue
  1967.                     {
  1968.                         *case: Yellow
  1969.                         {
  1970.                             *RedDeviceGamma: 7700
  1971.                             *GreenDeviceGamma: 7700
  1972.                             *BlueDeviceGamma: 7000
  1973.                         }
  1974.                         *case: YellowishGreen
  1975.                         {
  1976.                             *RedDeviceGamma: 7350
  1977.                             *GreenDeviceGamma: 7700
  1978.                             *BlueDeviceGamma: 7000
  1979.                         }
  1980.                         *case: Green
  1981.                         {
  1982.                             *RedDeviceGamma: 7000
  1983.                             *GreenDeviceGamma: 7700
  1984.                             *BlueDeviceGamma: 7000
  1985.                         }
  1986.                         *case: BluishGreen
  1987.                         {
  1988.                             *RedDeviceGamma: 7000
  1989.                             *GreenDeviceGamma: 7700
  1990.                             *BlueDeviceGamma: 7350
  1991.                         }
  1992.                         *case: GreenishBlue
  1993.                         {
  1994.                             *RedDeviceGamma: 7000
  1995.                             *GreenDeviceGamma: 7350
  1996.                             *BlueDeviceGamma: 7700
  1997.                         }
  1998.                         *case: Blue
  1999.                         {
  2000.                             *RedDeviceGamma: 7000
  2001.                             *GreenDeviceGamma: 7000
  2002.                             *BlueDeviceGamma: 7700
  2003.                         }
  2004.                         *case: BluishPurple
  2005.                         {
  2006.                             *RedDeviceGamma: 7350
  2007.                             *GreenDeviceGamma: 7000
  2008.                             *BlueDeviceGamma: 7700
  2009.                         }
  2010.                         *case: Purple
  2011.                         {
  2012.                             *RedDeviceGamma: 7700
  2013.                             *GreenDeviceGamma: 7000
  2014.                             *BlueDeviceGamma: 7700
  2015.                         }
  2016.                         *case: ReddishPurple
  2017.                         {
  2018.                             *RedDeviceGamma: 7700
  2019.                             *GreenDeviceGamma: 7000
  2020.                             *BlueDeviceGamma: 7350
  2021.                         }
  2022.                         *case: Red
  2023.                         {
  2024.                             *RedDeviceGamma: 7700
  2025.                             *GreenDeviceGamma: 7000
  2026.                             *BlueDeviceGamma: 7000
  2027.                         }
  2028.                         *case: Orange
  2029.                         {
  2030.                             *RedDeviceGamma: 7700
  2031.                             *GreenDeviceGamma: 7350
  2032.                             *BlueDeviceGamma: 7000
  2033.                         }
  2034.                         *case: YellowishOrange
  2035.                         {
  2036.                             *RedDeviceGamma: 7700
  2037.                             *GreenDeviceGamma: 7525
  2038.                             *BlueDeviceGamma: 7000
  2039.                         }
  2040.                     }
  2041.                 }
  2042.                 *case: High
  2043.                 {   *% +20% (+1400)
  2044.                     *switch: DeviceGammaAdjustmentHue
  2045.                     {
  2046.                         *case: Yellow
  2047.                         {
  2048.                             *RedDeviceGamma: 8400
  2049.                             *GreenDeviceGamma: 8400
  2050.                             *BlueDeviceGamma: 7000
  2051.                         }
  2052.                         *case: YellowishGreen
  2053.                         {
  2054.                             *RedDeviceGamma: 7700
  2055.                             *GreenDeviceGamma: 8400
  2056.                             *BlueDeviceGamma: 7000
  2057.                         }
  2058.                         *case: Green
  2059.                         {
  2060.                             *RedDeviceGamma: 7000
  2061.                             *GreenDeviceGamma: 8400
  2062.                             *BlueDeviceGamma: 7000
  2063.                         }
  2064.                         *case: BluishGreen
  2065.                         {
  2066.                             *RedDeviceGamma: 7000
  2067.                             *GreenDeviceGamma: 8400
  2068.                             *BlueDeviceGamma: 7700
  2069.                         }
  2070.                         *case: GreenishBlue
  2071.                         {
  2072.                             *RedDeviceGamma: 7000
  2073.                             *GreenDeviceGamma: 7700
  2074.                             *BlueDeviceGamma: 8400
  2075.                         }
  2076.                         *case: Blue
  2077.                         {
  2078.                             *RedDeviceGamma: 7000
  2079.                             *GreenDeviceGamma: 7000
  2080.                             *BlueDeviceGamma: 8400
  2081.                         }
  2082.                         *case: BluishPurple
  2083.                         {
  2084.                             *RedDeviceGamma: 7700
  2085.                             *GreenDeviceGamma: 7000
  2086.                             *BlueDeviceGamma: 8400
  2087.                         }
  2088.                         *case: Purple
  2089.                         {
  2090.                             *RedDeviceGamma: 8400
  2091.                             *GreenDeviceGamma: 7000
  2092.                             *BlueDeviceGamma: 8400
  2093.                         }
  2094.                         *case: ReddishPurple
  2095.                         {
  2096.                             *RedDeviceGamma: 8400
  2097.                             *GreenDeviceGamma: 7000
  2098.                             *BlueDeviceGamma: 7700
  2099.                         }
  2100.                         *case: Red
  2101.                         {
  2102.                             *RedDeviceGamma: 8400
  2103.                             *GreenDeviceGamma: 7000
  2104.                             *BlueDeviceGamma: 7000
  2105.                         }
  2106.                         *case: Orange
  2107.                         {
  2108.                             *RedDeviceGamma: 8400
  2109.                             *GreenDeviceGamma: 7700
  2110.                             *BlueDeviceGamma: 7000
  2111.                         }
  2112.                         *case: YellowishOrange
  2113.                         {
  2114.                             *RedDeviceGamma: 8400
  2115.                             *GreenDeviceGamma: 8050
  2116.                             *BlueDeviceGamma: 7000
  2117.                         }
  2118.                     }
  2119.                 }
  2120.             }
  2121.         }
  2122.         *case: Normal
  2123.         {   *% 0.8
  2124.             *switch: DeviceGammaAdjustmentChroma
  2125.             {
  2126.                 *case: Flat
  2127.                 {
  2128.                      *RedDeviceGamma: 8000
  2129.                      *GreenDeviceGamma: 8000
  2130.                      *BlueDeviceGamma: 8000
  2131.                 }
  2132.                 *case: Low
  2133.                 {   *% +5% (+400)
  2134.                     *switch: DeviceGammaAdjustmentHue
  2135.                     {
  2136.                         *case: Yellow
  2137.                         {
  2138.                             *RedDeviceGamma: 8400
  2139.                             *GreenDeviceGamma: 8400
  2140.                             *BlueDeviceGamma: 8000
  2141.                         }
  2142.                         *case: YellowishGreen
  2143.                         {
  2144.                             *RedDeviceGamma: 8200
  2145.                             *GreenDeviceGamma: 8400
  2146.                             *BlueDeviceGamma: 8000
  2147.                         }
  2148.                         *case: Green
  2149.                         {
  2150.                             *RedDeviceGamma: 8000
  2151.                             *GreenDeviceGamma: 8400
  2152.                             *BlueDeviceGamma: 8000
  2153.                         }
  2154.                         *case: BluishGreen
  2155.                         {
  2156.                             *RedDeviceGamma: 8000
  2157.                             *GreenDeviceGamma: 8400
  2158.                             *BlueDeviceGamma: 8200
  2159.                         }
  2160.                         *case: GreenishBlue
  2161.                         {
  2162.                             *RedDeviceGamma: 8000
  2163.                             *GreenDeviceGamma: 8200
  2164.                             *BlueDeviceGamma: 8400
  2165.                         }
  2166.                         *case: Blue
  2167.                         {
  2168.                             *RedDeviceGamma: 8000
  2169.                             *GreenDeviceGamma: 8000
  2170.                             *BlueDeviceGamma: 8400
  2171.                         }
  2172.                         *case: BluishPurple
  2173.                         {
  2174.                             *RedDeviceGamma: 8200
  2175.                             *GreenDeviceGamma: 8000
  2176.                             *BlueDeviceGamma: 8400
  2177.                         }
  2178.                         *case: Purple
  2179.                         {
  2180.                             *RedDeviceGamma: 8400
  2181.                             *GreenDeviceGamma: 8000
  2182.                             *BlueDeviceGamma: 8400
  2183.                         }
  2184.                         *case: ReddishPurple
  2185.                         {
  2186.                             *RedDeviceGamma: 8400
  2187.                             *GreenDeviceGamma: 8000
  2188.                             *BlueDeviceGamma: 8200
  2189.                         }
  2190.                         *case: Red
  2191.                         {
  2192.                             *RedDeviceGamma: 8400
  2193.                             *GreenDeviceGamma: 8000
  2194.                             *BlueDeviceGamma: 8000
  2195.                         }
  2196.                         *case: Orange
  2197.                         {
  2198.                             *RedDeviceGamma: 8400
  2199.                             *GreenDeviceGamma: 8200
  2200.                             *BlueDeviceGamma: 8000
  2201.                         }
  2202.                         *case: YellowishOrange
  2203.                         {
  2204.                             *RedDeviceGamma: 8400
  2205.                             *GreenDeviceGamma: 8300
  2206.                             *BlueDeviceGamma: 8000
  2207.                         }
  2208.                     }
  2209.                 }
  2210.                 *case: Medium
  2211.                 {   *% +10% (+800)
  2212.                     *switch: DeviceGammaAdjustmentHue
  2213.                     {
  2214.                         *case: Yellow
  2215.                         {
  2216.                             *RedDeviceGamma: 8800
  2217.                             *GreenDeviceGamma: 8800
  2218.                             *BlueDeviceGamma: 8000
  2219.                         }
  2220.                         *case: YellowishGreen
  2221.                         {
  2222.                             *RedDeviceGamma: 8400
  2223.                             *GreenDeviceGamma: 8800
  2224.                             *BlueDeviceGamma: 8000
  2225.                         }
  2226.                         *case: Green
  2227.                         {
  2228.                             *RedDeviceGamma: 8000
  2229.                             *GreenDeviceGamma: 8800
  2230.                             *BlueDeviceGamma: 8000
  2231.                         }
  2232.                         *case: BluishGreen
  2233.                         {
  2234.                             *RedDeviceGamma: 8000
  2235.                             *GreenDeviceGamma: 8800
  2236.                             *BlueDeviceGamma: 8400
  2237.                         }
  2238.                         *case: GreenishBlue
  2239.                         {
  2240.                             *RedDeviceGamma: 8000
  2241.                             *GreenDeviceGamma: 8400
  2242.                             *BlueDeviceGamma: 8800
  2243.                         }
  2244.                         *case: Blue
  2245.                         {
  2246.                             *RedDeviceGamma: 8000
  2247.                             *GreenDeviceGamma: 8000
  2248.                             *BlueDeviceGamma: 8800
  2249.                         }
  2250.                         *case: BluishPurple
  2251.                         {
  2252.                             *RedDeviceGamma: 8400
  2253.                             *GreenDeviceGamma: 8000
  2254.                             *BlueDeviceGamma: 8800
  2255.                         }
  2256.                         *case: Purple
  2257.                         {
  2258.                             *RedDeviceGamma: 8800
  2259.                             *GreenDeviceGamma: 8000
  2260.                             *BlueDeviceGamma: 8800
  2261.                         }
  2262.                         *case: ReddishPurple
  2263.                         {
  2264.                             *RedDeviceGamma: 8800
  2265.                             *GreenDeviceGamma: 8000
  2266.                             *BlueDeviceGamma: 8400
  2267.                         }
  2268.                         *case: Red
  2269.                         {
  2270.                             *RedDeviceGamma: 8800
  2271.                             *GreenDeviceGamma: 8000
  2272.                             *BlueDeviceGamma: 8000
  2273.                         }
  2274.                         *case: Orange
  2275.                         {
  2276.                             *RedDeviceGamma: 8800
  2277.                             *GreenDeviceGamma: 8400
  2278.                             *BlueDeviceGamma: 8000
  2279.                         }
  2280.                         *case: YellowishOrange
  2281.                         {
  2282.                             *RedDeviceGamma: 8800
  2283.                             *GreenDeviceGamma: 8600
  2284.                             *BlueDeviceGamma: 8000
  2285.                         }
  2286.                     }
  2287.                 }
  2288.                 *case: High
  2289.                 {   *% +20% (+1600)
  2290.                     *switch: DeviceGammaAdjustmentHue
  2291.                     {
  2292.                         *case: Yellow
  2293.                         {
  2294.                             *RedDeviceGamma: 9600
  2295.                             *GreenDeviceGamma: 9600
  2296.                             *BlueDeviceGamma: 8000
  2297.                         }
  2298.                         *case: YellowishGreen
  2299.                         {
  2300.                             *RedDeviceGamma: 8800
  2301.                             *GreenDeviceGamma: 9600
  2302.                             *BlueDeviceGamma: 8000
  2303.                         }
  2304.                         *case: Green
  2305.                         {
  2306.                             *RedDeviceGamma: 8000
  2307.                             *GreenDeviceGamma: 9600
  2308.                             *BlueDeviceGamma: 8000
  2309.                         }
  2310.                         *case: BluishGreen
  2311.                         {
  2312.                             *RedDeviceGamma: 8000
  2313.                             *GreenDeviceGamma: 9600
  2314.                             *BlueDeviceGamma: 8800
  2315.                         }
  2316.                         *case: GreenishBlue
  2317.                         {
  2318.                             *RedDeviceGamma: 8000
  2319.                             *GreenDeviceGamma: 8800
  2320.                             *BlueDeviceGamma: 9600
  2321.                         }
  2322.                         *case: Blue
  2323.                         {
  2324.                             *RedDeviceGamma: 8000
  2325.                             *GreenDeviceGamma: 8000
  2326.                             *BlueDeviceGamma: 9600
  2327.                         }
  2328.                         *case: BluishPurple
  2329.                         {
  2330.                             *RedDeviceGamma: 8800
  2331.                             *GreenDeviceGamma: 8000
  2332.                             *BlueDeviceGamma: 9600
  2333.                         }
  2334.                         *case: Purple
  2335.                         {
  2336.                             *RedDeviceGamma: 9600
  2337.                             *GreenDeviceGamma: 8000
  2338.                             *BlueDeviceGamma: 9600
  2339.                         }
  2340.                         *case: ReddishPurple
  2341.                         {
  2342.                             *RedDeviceGamma: 9600
  2343.                             *GreenDeviceGamma: 8000
  2344.                             *BlueDeviceGamma: 8800
  2345.                         }
  2346.                         *case: Red
  2347.                         {
  2348.                             *RedDeviceGamma: 9600
  2349.                             *GreenDeviceGamma: 8000
  2350.                             *BlueDeviceGamma: 8000
  2351.                         }
  2352.                         *case: Orange
  2353.                         {
  2354.                             *RedDeviceGamma: 9600
  2355.                             *GreenDeviceGamma: 8800
  2356.                             *BlueDeviceGamma: 8000
  2357.                         }
  2358.                         *case: YellowishOrange
  2359.                         {
  2360.                             *RedDeviceGamma: 9600
  2361.                             *GreenDeviceGamma: 9200
  2362.                             *BlueDeviceGamma: 8000
  2363.                         }
  2364.                     }
  2365.                 }
  2366.             }
  2367.         }
  2368.         *case: Light1
  2369.         {   *% 0.925
  2370.             *switch: DeviceGammaAdjustmentChroma
  2371.             {
  2372.                 *case: Flat
  2373.                 {
  2374.                      *RedDeviceGamma: 9250
  2375.                      *GreenDeviceGamma: 9250
  2376.                      *BlueDeviceGamma: 9250
  2377.                 }
  2378.                 *case: Low
  2379.                 {   *% +5% (+462)
  2380.                     *switch: DeviceGammaAdjustmentHue
  2381.                     {
  2382.                         *case: Yellow
  2383.                         {
  2384.                             *RedDeviceGamma: 9712
  2385.                             *GreenDeviceGamma: 9712
  2386.                             *BlueDeviceGamma: 9250
  2387.                         }
  2388.                         *case: YellowishGreen
  2389.                         {
  2390.                             *RedDeviceGamma: 9481
  2391.                             *GreenDeviceGamma: 9712
  2392.                             *BlueDeviceGamma: 9250
  2393.                         }
  2394.                         *case: Green
  2395.                         {
  2396.                             *RedDeviceGamma: 9250
  2397.                             *GreenDeviceGamma: 9712
  2398.                             *BlueDeviceGamma: 9250
  2399.                         }
  2400.                         *case: BluishGreen
  2401.                         {
  2402.                             *RedDeviceGamma: 9250
  2403.                             *GreenDeviceGamma: 9712
  2404.                             *BlueDeviceGamma: 9481
  2405.                         }
  2406.                         *case: GreenishBlue
  2407.                         {
  2408.                             *RedDeviceGamma: 9250
  2409.                             *GreenDeviceGamma: 9481
  2410.                             *BlueDeviceGamma: 9712
  2411.                         }
  2412.                         *case: Blue
  2413.                         {
  2414.                             *RedDeviceGamma: 9250
  2415.                             *GreenDeviceGamma: 9250
  2416.                             *BlueDeviceGamma: 9712
  2417.                         }
  2418.                         *case: BluishPurple
  2419.                         {
  2420.                             *RedDeviceGamma: 9481
  2421.                             *GreenDeviceGamma: 9250
  2422.                             *BlueDeviceGamma: 9712
  2423.                         }
  2424.                         *case: Purple
  2425.                         {
  2426.                             *RedDeviceGamma: 9712
  2427.                             *GreenDeviceGamma: 9250
  2428.                             *BlueDeviceGamma: 9712
  2429.                         }
  2430.                         *case: ReddishPurple
  2431.                         {
  2432.                             *RedDeviceGamma: 9712
  2433.                             *GreenDeviceGamma: 9250
  2434.                             *BlueDeviceGamma: 9481
  2435.                         }
  2436.                         *case: Red
  2437.                         {
  2438.                             *RedDeviceGamma: 9712
  2439.                             *GreenDeviceGamma: 9250
  2440.                             *BlueDeviceGamma: 9250
  2441.                         }
  2442.                         *case: Orange
  2443.                         {
  2444.                             *RedDeviceGamma: 9712
  2445.                             *GreenDeviceGamma: 9481
  2446.                             *BlueDeviceGamma: 9250
  2447.                         }
  2448.                         *case: YellowishOrange
  2449.                         {
  2450.                             *RedDeviceGamma: 9712
  2451.                             *GreenDeviceGamma: 9597
  2452.                             *BlueDeviceGamma: 9250
  2453.                         }
  2454.                     }
  2455.                 }
  2456.                 *case: Medium
  2457.                 {   *% +10% (+925)
  2458.                     *switch: DeviceGammaAdjustmentHue
  2459.                     {
  2460.                         *case: Yellow
  2461.                         {
  2462.                             *RedDeviceGamma: 10175
  2463.                             *GreenDeviceGamma: 10175
  2464.                             *BlueDeviceGamma: 9250
  2465.                         }
  2466.                         *case: YellowishGreen
  2467.                         {
  2468.                             *RedDeviceGamma: 9712
  2469.                             *GreenDeviceGamma: 10175
  2470.                             *BlueDeviceGamma: 9250
  2471.                         }
  2472.                         *case: Green
  2473.                         {
  2474.                             *RedDeviceGamma: 9250
  2475.                             *GreenDeviceGamma: 10175
  2476.                             *BlueDeviceGamma: 9250
  2477.                         }
  2478.                         *case: BluishGreen
  2479.                         {
  2480.                             *RedDeviceGamma: 9250
  2481.                             *GreenDeviceGamma: 10175
  2482.                             *BlueDeviceGamma: 9712
  2483.                         }
  2484.                         *case: GreenishBlue
  2485.                         {
  2486.                             *RedDeviceGamma: 9250
  2487.                             *GreenDeviceGamma: 9712
  2488.                             *BlueDeviceGamma: 10175
  2489.                         }
  2490.                         *case: Blue
  2491.                         {
  2492.                             *RedDeviceGamma: 9250
  2493.                             *GreenDeviceGamma: 9250
  2494.                             *BlueDeviceGamma: 10175
  2495.                         }
  2496.                         *case: BluishPurple
  2497.                         {
  2498.                             *RedDeviceGamma: 9712
  2499.                             *GreenDeviceGamma: 9250
  2500.                             *BlueDeviceGamma: 10175
  2501.                         }
  2502.                         *case: Purple
  2503.                         {
  2504.                             *RedDeviceGamma: 10175
  2505.                             *GreenDeviceGamma: 9250
  2506.                             *BlueDeviceGamma: 10175
  2507.                         }
  2508.                         *case: ReddishPurple
  2509.                         {
  2510.                             *RedDeviceGamma: 10175
  2511.                             *GreenDeviceGamma: 9250
  2512.                             *BlueDeviceGamma: 9712
  2513.                         }
  2514.                         *case: Red
  2515.                         {
  2516.                             *RedDeviceGamma: 10175
  2517.                             *GreenDeviceGamma: 9250
  2518.                             *BlueDeviceGamma: 9250
  2519.                         }
  2520.                         *case: Orange
  2521.                         {
  2522.                             *RedDeviceGamma: 10175
  2523.                             *GreenDeviceGamma: 9712
  2524.                             *BlueDeviceGamma: 9250
  2525.                         }
  2526.                         *case: YellowishOrange
  2527.                         {
  2528.                             *RedDeviceGamma: 10175
  2529.                             *GreenDeviceGamma: 9944
  2530.                             *BlueDeviceGamma: 9250
  2531.                         }
  2532.                     }
  2533.                 }
  2534.                 *case: High
  2535.                 {   *% +20% (+1850)
  2536.                     *switch: DeviceGammaAdjustmentHue
  2537.                     {
  2538.                         *case: Yellow
  2539.                         {
  2540.                             *RedDeviceGamma: 11100
  2541.                             *GreenDeviceGamma: 11100
  2542.                             *BlueDeviceGamma: 9250
  2543.                         }
  2544.                         *case: YellowishGreen
  2545.                         {
  2546.                             *RedDeviceGamma: 10175
  2547.                             *GreenDeviceGamma: 11100
  2548.                             *BlueDeviceGamma: 9250
  2549.                         }
  2550.                         *case: Green
  2551.                         {
  2552.                             *RedDeviceGamma: 9250
  2553.                             *GreenDeviceGamma: 11100
  2554.                             *BlueDeviceGamma: 9250
  2555.                         }
  2556.                         *case: BluishGreen
  2557.                         {
  2558.                             *RedDeviceGamma: 9250
  2559.                             *GreenDeviceGamma: 11100
  2560.                             *BlueDeviceGamma: 10175
  2561.                         }
  2562.                         *case: GreenishBlue
  2563.                         {
  2564.                             *RedDeviceGamma: 9250
  2565.                             *GreenDeviceGamma: 10175
  2566.                             *BlueDeviceGamma: 11100
  2567.                         }
  2568.                         *case: Blue
  2569.                         {
  2570.                             *RedDeviceGamma: 9250
  2571.                             *GreenDeviceGamma: 9250
  2572.                             *BlueDeviceGamma: 11100
  2573.                         }
  2574.                         *case: BluishPurple
  2575.                         {
  2576.                             *RedDeviceGamma: 10175
  2577.                             *GreenDeviceGamma: 9250
  2578.                             *BlueDeviceGamma: 11100
  2579.                         }
  2580.                         *case: Purple
  2581.                         {
  2582.                             *RedDeviceGamma: 11100
  2583.                             *GreenDeviceGamma: 9250
  2584.                             *BlueDeviceGamma: 11100
  2585.                         }
  2586.                         *case: ReddishPurple
  2587.                         {
  2588.                             *RedDeviceGamma: 11100
  2589.                             *GreenDeviceGamma: 9250
  2590.                             *BlueDeviceGamma: 10175
  2591.                         }
  2592.                         *case: Red
  2593.                         {
  2594.                             *RedDeviceGamma: 11100
  2595.                             *GreenDeviceGamma: 9250
  2596.                             *BlueDeviceGamma: 9250
  2597.                         }
  2598.                         *case: Orange
  2599.                         {
  2600.                             *RedDeviceGamma: 11100
  2601.                             *GreenDeviceGamma: 10175
  2602.                             *BlueDeviceGamma: 9250
  2603.                         }
  2604.                         *case: YellowishOrange
  2605.                         {
  2606.                             *RedDeviceGamma: 11100
  2607.                             *GreenDeviceGamma: 10812
  2608.                             *BlueDeviceGamma: 9250
  2609.                         }
  2610.                     }
  2611.                 }
  2612.             }
  2613.         }
  2614.         *case: Light2
  2615.         {   *% 1.0
  2616.             *switch: DeviceGammaAdjustmentChroma
  2617.             {
  2618.                 *case: Flat
  2619.                 {
  2620.                      *RedDeviceGamma: 10000
  2621.                      *GreenDeviceGamma: 10000
  2622.                      *BlueDeviceGamma: 10000
  2623.                 }
  2624.                 *case: Low
  2625.                 {   *% +5% (+500)
  2626.                     *switch: DeviceGammaAdjustmentHue
  2627.                     {
  2628.                         *case: Yellow
  2629.                         {
  2630.                             *RedDeviceGamma: 10500
  2631.                             *GreenDeviceGamma: 10500
  2632.                             *BlueDeviceGamma: 10000
  2633.                         }
  2634.                         *case: YellowishGreen
  2635.                         {
  2636.                             *RedDeviceGamma: 10250
  2637.                             *GreenDeviceGamma: 10500
  2638.                             *BlueDeviceGamma: 10000
  2639.                         }
  2640.                         *case: Green
  2641.                         {
  2642.                             *RedDeviceGamma: 10000
  2643.                             *GreenDeviceGamma: 10500
  2644.                             *BlueDeviceGamma: 10000
  2645.                         }
  2646.                         *case: BluishGreen
  2647.                         {
  2648.                             *RedDeviceGamma: 10000
  2649.                             *GreenDeviceGamma: 10500
  2650.                             *BlueDeviceGamma: 10250
  2651.                         }
  2652.                         *case: GreenishBlue
  2653.                         {
  2654.                             *RedDeviceGamma: 10000
  2655.                             *GreenDeviceGamma: 10250
  2656.                             *BlueDeviceGamma: 10500
  2657.                         }
  2658.                         *case: Blue
  2659.                         {
  2660.                             *RedDeviceGamma: 10000
  2661.                             *GreenDeviceGamma: 10000
  2662.                             *BlueDeviceGamma: 10500
  2663.                         }
  2664.                         *case: BluishPurple
  2665.                         {
  2666.                             *RedDeviceGamma: 10250
  2667.                             *GreenDeviceGamma: 10000
  2668.                             *BlueDeviceGamma: 10500
  2669.                         }
  2670.                         *case: Purple
  2671.                         {
  2672.                             *RedDeviceGamma: 10500
  2673.                             *GreenDeviceGamma: 10000
  2674.                             *BlueDeviceGamma: 10500
  2675.                         }
  2676.                         *case: ReddishPurple
  2677.                         {
  2678.                             *RedDeviceGamma: 10500
  2679.                             *GreenDeviceGamma: 10000
  2680.                             *BlueDeviceGamma: 10250
  2681.                         }
  2682.                         *case: Red
  2683.                         {
  2684.                             *RedDeviceGamma: 10500
  2685.                             *GreenDeviceGamma: 10000
  2686.                             *BlueDeviceGamma: 10000
  2687.                         }
  2688.                         *case: Orange
  2689.                         {
  2690.                             *RedDeviceGamma: 10500
  2691.                             *GreenDeviceGamma: 10250
  2692.                             *BlueDeviceGamma: 10000
  2693.                         }
  2694.                         *case: YellowishOrange
  2695.                         {
  2696.                             *RedDeviceGamma: 10500
  2697.                             *GreenDeviceGamma: 10375
  2698.                             *BlueDeviceGamma: 10000
  2699.                         }
  2700.                     }
  2701.                 }
  2702.                 *case: Medium
  2703.                 {   *% +10% (+1000)
  2704.                     *switch: DeviceGammaAdjustmentHue
  2705.                     {
  2706.                         *case: Yellow
  2707.                         {
  2708.                             *RedDeviceGamma: 11000
  2709.                             *GreenDeviceGamma: 11000
  2710.                             *BlueDeviceGamma: 10000
  2711.                         }
  2712.                         *case: YellowishGreen
  2713.                         {
  2714.                             *RedDeviceGamma: 10500
  2715.                             *GreenDeviceGamma: 11000
  2716.                             *BlueDeviceGamma: 10000
  2717.                         }
  2718.                         *case: Green
  2719.                         {
  2720.                             *RedDeviceGamma: 10000
  2721.                             *GreenDeviceGamma: 11000
  2722.                             *BlueDeviceGamma: 10000
  2723.                         }
  2724.                         *case: BluishGreen
  2725.                         {
  2726.                             *RedDeviceGamma: 10000
  2727.                             *GreenDeviceGamma: 11000
  2728.                             *BlueDeviceGamma: 10500
  2729.                         }
  2730.                         *case: GreenishBlue
  2731.                         {
  2732.                             *RedDeviceGamma: 10000
  2733.                             *GreenDeviceGamma: 10500
  2734.                             *BlueDeviceGamma: 11000
  2735.                         }
  2736.                         *case: Blue
  2737.                         {
  2738.                             *RedDeviceGamma: 10000
  2739.                             *GreenDeviceGamma: 10000
  2740.                             *BlueDeviceGamma: 11000
  2741.                         }
  2742.                         *case: BluishPurple
  2743.                         {
  2744.                             *RedDeviceGamma: 10500
  2745.                             *GreenDeviceGamma: 10000
  2746.                             *BlueDeviceGamma: 11000
  2747.                         }
  2748.                         *case: Purple
  2749.                         {
  2750.                             *RedDeviceGamma: 11000
  2751.                             *GreenDeviceGamma: 10000
  2752.                             *BlueDeviceGamma: 11000
  2753.                         }
  2754.                         *case: ReddishPurple
  2755.                         {
  2756.                             *RedDeviceGamma: 11000
  2757.                             *GreenDeviceGamma: 10000
  2758.                             *BlueDeviceGamma: 10500
  2759.                         }
  2760.                         *case: Red
  2761.                         {
  2762.                             *RedDeviceGamma: 11000
  2763.                             *GreenDeviceGamma: 10000
  2764.                             *BlueDeviceGamma: 10000
  2765.                         }
  2766.                         *case: Orange
  2767.                         {
  2768.                             *RedDeviceGamma: 11000
  2769.                             *GreenDeviceGamma: 10500
  2770.                             *BlueDeviceGamma: 10000
  2771.                         }
  2772.                         *case: YellowishOrange
  2773.                         {
  2774.                             *RedDeviceGamma: 11000
  2775.                             *GreenDeviceGamma: 10750
  2776.                             *BlueDeviceGamma: 10000
  2777.                         }
  2778.                     }
  2779.                 }
  2780.                 *case: High
  2781.                 {   *% +20% (+2000)
  2782.                     *switch: DeviceGammaAdjustmentHue
  2783.                     {
  2784.                         *case: Yellow
  2785.                         {
  2786.                             *RedDeviceGamma: 12000
  2787.                             *GreenDeviceGamma: 12000
  2788.                             *BlueDeviceGamma: 10000
  2789.                         }
  2790.                         *case: YellowishGreen
  2791.                         {
  2792.                             *RedDeviceGamma: 11000
  2793.                             *GreenDeviceGamma: 12000
  2794.                             *BlueDeviceGamma: 10000
  2795.                         }
  2796.                         *case: Green
  2797.                         {
  2798.                             *RedDeviceGamma: 10000
  2799.                             *GreenDeviceGamma: 12000
  2800.                             *BlueDeviceGamma: 10000
  2801.                         }
  2802.                         *case: BluishGreen
  2803.                         {
  2804.                             *RedDeviceGamma: 10000
  2805.                             *GreenDeviceGamma: 12000
  2806.                             *BlueDeviceGamma: 11000
  2807.                         }
  2808.                         *case: GreenishBlue
  2809.                         {
  2810.                             *RedDeviceGamma: 10000
  2811.                             *GreenDeviceGamma: 11000
  2812.                             *BlueDeviceGamma: 12000
  2813.                         }
  2814.                         *case: Blue
  2815.                         {
  2816.                             *RedDeviceGamma: 10000
  2817.                             *GreenDeviceGamma: 10000
  2818.                             *BlueDeviceGamma: 12000
  2819.                         }
  2820.                         *case: BluishPurple
  2821.                         {
  2822.                             *RedDeviceGamma: 11000
  2823.                             *GreenDeviceGamma: 10000
  2824.                             *BlueDeviceGamma: 12000
  2825.                         }
  2826.                         *case: Purple
  2827.                         {
  2828.                             *RedDeviceGamma: 12000
  2829.                             *GreenDeviceGamma: 10000
  2830.                             *BlueDeviceGamma: 12000
  2831.                         }
  2832.                         *case: ReddishPurple
  2833.                         {
  2834.                             *RedDeviceGamma: 12000
  2835.                             *GreenDeviceGamma: 10000
  2836.                             *BlueDeviceGamma: 11000
  2837.                         }
  2838.                         *case: Red
  2839.                         {
  2840.                             *RedDeviceGamma: 12000
  2841.                             *GreenDeviceGamma: 10000
  2842.                             *BlueDeviceGamma: 10000
  2843.                         }
  2844.                         *case: Orange
  2845.                         {
  2846.                             *RedDeviceGamma: 12000
  2847.                             *GreenDeviceGamma: 11000
  2848.                             *BlueDeviceGamma: 10000
  2849.                         }
  2850.                         *case: YellowishOrange
  2851.                         {
  2852.                             *RedDeviceGamma: 12000
  2853.                             *GreenDeviceGamma: 11500
  2854.                             *BlueDeviceGamma: 10000
  2855.                         }
  2856.                     }
  2857.                 }
  2858.             }
  2859.         }
  2860.         *case: Light3
  2861.         {   *% 1.2
  2862.             *switch: DeviceGammaAdjustmentChroma
  2863.             {
  2864.                 *case: Flat
  2865.                 {
  2866.                      *RedDeviceGamma: 12000
  2867.                      *GreenDeviceGamma: 12000
  2868.                      *BlueDeviceGamma: 12000
  2869.                 }
  2870.                 *case: Low
  2871.                 {   *% +5% (+600)
  2872.                     *switch: DeviceGammaAdjustmentHue
  2873.                     {
  2874.                         *case: Yellow
  2875.                         {
  2876.                             *RedDeviceGamma: 12600
  2877.                             *GreenDeviceGamma: 12600
  2878.                             *BlueDeviceGamma: 12000
  2879.                         }
  2880.                         *case: YellowishGreen
  2881.                         {
  2882.                             *RedDeviceGamma: 12300
  2883.                             *GreenDeviceGamma: 12600
  2884.                             *BlueDeviceGamma: 12000
  2885.                         }
  2886.                         *case: Green
  2887.                         {
  2888.                             *RedDeviceGamma: 12000
  2889.                             *GreenDeviceGamma: 12600
  2890.                             *BlueDeviceGamma: 12000
  2891.                         }
  2892.                         *case: BluishGreen
  2893.                         {
  2894.                             *RedDeviceGamma: 12000
  2895.                             *GreenDeviceGamma: 12600
  2896.                             *BlueDeviceGamma: 12300
  2897.                         }
  2898.                         *case: GreenishBlue
  2899.                         {
  2900.                             *RedDeviceGamma: 12000
  2901.                             *GreenDeviceGamma: 12300
  2902.                             *BlueDeviceGamma: 12600
  2903.                         }
  2904.                         *case: Blue
  2905.                         {
  2906.                             *RedDeviceGamma: 12000
  2907.                             *GreenDeviceGamma: 12000
  2908.                             *BlueDeviceGamma: 12600
  2909.                         }
  2910.                         *case: BluishPurple
  2911.                         {
  2912.                             *RedDeviceGamma: 12300
  2913.                             *GreenDeviceGamma: 12000
  2914.                             *BlueDeviceGamma: 12600
  2915.                         }
  2916.                         *case: Purple
  2917.                         {
  2918.                             *RedDeviceGamma: 12600
  2919.                             *GreenDeviceGamma: 12000
  2920.                             *BlueDeviceGamma: 12600
  2921.                         }
  2922.                         *case: ReddishPurple
  2923.                         {
  2924.                             *RedDeviceGamma: 12600
  2925.                             *GreenDeviceGamma: 12000
  2926.                             *BlueDeviceGamma: 12300
  2927.                         }
  2928.                         *case: Red
  2929.                         {
  2930.                             *RedDeviceGamma: 12600
  2931.                             *GreenDeviceGamma: 12000
  2932.                             *BlueDeviceGamma: 12000
  2933.                         }
  2934.                         *case: Orange
  2935.                         {
  2936.                             *RedDeviceGamma: 12600
  2937.                             *GreenDeviceGamma: 12300
  2938.                             *BlueDeviceGamma: 12000
  2939.                         }
  2940.                         *case: YellowishOrange
  2941.                         {
  2942.                             *RedDeviceGamma: 12600
  2943.                             *GreenDeviceGamma: 12450
  2944.                             *BlueDeviceGamma: 12000
  2945.                         }
  2946.                     }
  2947.                 }
  2948.                 *case: Medium
  2949.                 {   *% +10% (+1200)
  2950.                     *switch: DeviceGammaAdjustmentHue
  2951.                     {
  2952.                         *case: Yellow
  2953.                         {
  2954.                             *RedDeviceGamma: 13200
  2955.                             *GreenDeviceGamma: 13200
  2956.                             *BlueDeviceGamma: 12000
  2957.                         }
  2958.                         *case: YellowishGreen
  2959.                         {
  2960.                             *RedDeviceGamma: 12600
  2961.                             *GreenDeviceGamma: 13200
  2962.                             *BlueDeviceGamma: 12000
  2963.                         }
  2964.                         *case: Green
  2965.                         {
  2966.                             *RedDeviceGamma: 12000
  2967.                             *GreenDeviceGamma: 13200
  2968.                             *BlueDeviceGamma: 12000
  2969.                         }
  2970.                         *case: BluishGreen
  2971.                         {
  2972.                             *RedDeviceGamma: 12000
  2973.                             *GreenDeviceGamma: 13200
  2974.                             *BlueDeviceGamma: 12600
  2975.                         }
  2976.                         *case: GreenishBlue
  2977.                         {
  2978.                             *RedDeviceGamma: 12000
  2979.                             *GreenDeviceGamma: 12600
  2980.                             *BlueDeviceGamma: 13200
  2981.                         }
  2982.                         *case: Blue
  2983.                         {
  2984.                             *RedDeviceGamma: 12000
  2985.                             *GreenDeviceGamma: 12000
  2986.                             *BlueDeviceGamma: 13200
  2987.                         }
  2988.                         *case: BluishPurple
  2989.                         {
  2990.                             *RedDeviceGamma: 12600
  2991.                             *GreenDeviceGamma: 12000
  2992.                             *BlueDeviceGamma: 13200
  2993.                         }
  2994.                         *case: Purple
  2995.                         {
  2996.                             *RedDeviceGamma: 13200
  2997.                             *GreenDeviceGamma: 12000
  2998.                             *BlueDeviceGamma: 13200
  2999.                         }
  3000.                         *case: ReddishPurple
  3001.                         {
  3002.                             *RedDeviceGamma: 13200
  3003.                             *GreenDeviceGamma: 12000
  3004.                             *BlueDeviceGamma: 12600
  3005.                         }
  3006.                         *case: Red
  3007.                         {
  3008.                             *RedDeviceGamma: 13200
  3009.                             *GreenDeviceGamma: 12000
  3010.                             *BlueDeviceGamma: 12000
  3011.                         }
  3012.                         *case: Orange
  3013.                         {
  3014.                             *RedDeviceGamma: 13200
  3015.                             *GreenDeviceGamma: 12600
  3016.                             *BlueDeviceGamma: 12000
  3017.                         }
  3018.                         *case: YellowishOrange
  3019.                         {
  3020.                             *RedDeviceGamma: 13200
  3021.                             *GreenDeviceGamma: 12900
  3022.                             *BlueDeviceGamma: 12000
  3023.                         }
  3024.                     }
  3025.                 }
  3026.                 *case: High
  3027.                 {   *% +20% (+2400)
  3028.                     *switch: DeviceGammaAdjustmentHue
  3029.                     {
  3030.                         *case: Yellow
  3031.                         {
  3032.                             *RedDeviceGamma: 14400
  3033.                             *GreenDeviceGamma: 14400
  3034.                             *BlueDeviceGamma: 12000
  3035.                         }
  3036.                         *case: YellowishGreen
  3037.                         {
  3038.                             *RedDeviceGamma: 13200
  3039.                             *GreenDeviceGamma: 14400
  3040.                             *BlueDeviceGamma: 12000
  3041.                         }
  3042.                         *case: Green
  3043.                         {
  3044.                             *RedDeviceGamma: 12000
  3045.                             *GreenDeviceGamma: 14400
  3046.                             *BlueDeviceGamma: 12000
  3047.                         }
  3048.                         *case: BluishGreen
  3049.                         {
  3050.                             *RedDeviceGamma: 12000
  3051.                             *GreenDeviceGamma: 14400
  3052.                             *BlueDeviceGamma: 13200
  3053.                         }
  3054.                         *case: GreenishBlue
  3055.                         {
  3056.                             *RedDeviceGamma: 12000
  3057.                             *GreenDeviceGamma: 13200
  3058.                             *BlueDeviceGamma: 14400
  3059.                         }
  3060.                         *case: Blue
  3061.                         {
  3062.                             *RedDeviceGamma: 12000
  3063.                             *GreenDeviceGamma: 12000
  3064.                             *BlueDeviceGamma: 14400
  3065.                         }
  3066.                         *case: BluishPurple
  3067.                         {
  3068.                             *RedDeviceGamma: 13200
  3069.                             *GreenDeviceGamma: 12000
  3070.                             *BlueDeviceGamma: 14400
  3071.                         }
  3072.                         *case: Purple
  3073.                         {
  3074.                             *RedDeviceGamma: 14400
  3075.                             *GreenDeviceGamma: 12000
  3076.                             *BlueDeviceGamma: 14400
  3077.                         }
  3078.                         *case: ReddishPurple
  3079.                         {
  3080.                             *RedDeviceGamma: 14400
  3081.                             *GreenDeviceGamma: 12000
  3082.                             *BlueDeviceGamma: 13200
  3083.                         }
  3084.                         *case: Red
  3085.                         {
  3086.                             *RedDeviceGamma: 14400
  3087.                             *GreenDeviceGamma: 12000
  3088.                             *BlueDeviceGamma: 12000
  3089.                         }
  3090.                         *case: Orange
  3091.                         {
  3092.                             *RedDeviceGamma: 14400
  3093.                             *GreenDeviceGamma: 13200
  3094.                             *BlueDeviceGamma: 12000
  3095.                         }
  3096.                         *case: YellowishOrange
  3097.                         {
  3098.                             *RedDeviceGamma: 14400
  3099.                             *GreenDeviceGamma: 13800
  3100.                             *BlueDeviceGamma: 12000
  3101.                         }
  3102.                     }
  3103.                 }
  3104.             }
  3105.         }
  3106.         *case: Light4
  3107.         {   *% 1.4
  3108.             *switch: DeviceGammaAdjustmentChroma
  3109.             {
  3110.                 *case: Flat
  3111.                 {
  3112.                      *RedDeviceGamma: 14000
  3113.                      *GreenDeviceGamma: 14000
  3114.                      *BlueDeviceGamma: 14000
  3115.                 }
  3116.                 *case: Low
  3117.                 {   *% +5% (+700)
  3118.                     *switch: DeviceGammaAdjustmentHue
  3119.                     {
  3120.                         *case: Yellow
  3121.                         {
  3122.                             *RedDeviceGamma: 14700
  3123.                             *GreenDeviceGamma: 14700
  3124.                             *BlueDeviceGamma: 14000
  3125.                         }
  3126.                         *case: YellowishGreen
  3127.                         {
  3128.                             *RedDeviceGamma: 14350
  3129.                             *GreenDeviceGamma: 14700
  3130.                             *BlueDeviceGamma: 14000
  3131.                         }
  3132.                         *case: Green
  3133.                         {
  3134.                             *RedDeviceGamma: 14000
  3135.                             *GreenDeviceGamma: 14700
  3136.                             *BlueDeviceGamma: 14000
  3137.                         }
  3138.                         *case: BluishGreen
  3139.                         {
  3140.                             *RedDeviceGamma: 14000
  3141.                             *GreenDeviceGamma: 14700
  3142.                             *BlueDeviceGamma: 14350
  3143.                         }
  3144.                         *case: GreenishBlue
  3145.                         {
  3146.                             *RedDeviceGamma: 14000
  3147.                             *GreenDeviceGamma: 14350
  3148.                             *BlueDeviceGamma: 14700
  3149.                         }
  3150.                         *case: Blue
  3151.                         {
  3152.                             *RedDeviceGamma: 14000
  3153.                             *GreenDeviceGamma: 14000
  3154.                             *BlueDeviceGamma: 14700
  3155.                         }
  3156.                         *case: BluishPurple
  3157.                         {
  3158.                             *RedDeviceGamma: 14350
  3159.                             *GreenDeviceGamma: 14000
  3160.                             *BlueDeviceGamma: 14700
  3161.                         }
  3162.                         *case: Purple
  3163.                         {
  3164.                             *RedDeviceGamma: 14700
  3165.                             *GreenDeviceGamma: 14000
  3166.                             *BlueDeviceGamma: 14700
  3167.                         }
  3168.                         *case: ReddishPurple
  3169.                         {
  3170.                             *RedDeviceGamma: 14700
  3171.                             *GreenDeviceGamma: 14000
  3172.                             *BlueDeviceGamma: 14350
  3173.                         }
  3174.                         *case: Red
  3175.                         {
  3176.                             *RedDeviceGamma: 14700
  3177.                             *GreenDeviceGamma: 14000
  3178.                             *BlueDeviceGamma: 14000
  3179.                         }
  3180.                         *case: Orange
  3181.                         {
  3182.                             *RedDeviceGamma: 14700
  3183.                             *GreenDeviceGamma: 14350
  3184.                             *BlueDeviceGamma: 14000
  3185.                         }
  3186.                         *case: YellowishOrange
  3187.                         {
  3188.                             *RedDeviceGamma: 14700
  3189.                             *GreenDeviceGamma: 14525
  3190.                             *BlueDeviceGamma: 14000
  3191.                         }
  3192.                     }
  3193.                 }
  3194.                 *case: Medium
  3195.                 {   *% +10% (+1400)
  3196.                     *switch: DeviceGammaAdjustmentHue
  3197.                     {
  3198.                         *case: Yellow
  3199.                         {
  3200.                             *RedDeviceGamma: 15400
  3201.                             *GreenDeviceGamma: 15400
  3202.                             *BlueDeviceGamma: 14000
  3203.                         }
  3204.                         *case: YellowishGreen
  3205.                         {
  3206.                             *RedDeviceGamma: 15400
  3207.                             *GreenDeviceGamma: 14700
  3208.                             *BlueDeviceGamma: 14000
  3209.                         }
  3210.                         *case: Green
  3211.                         {
  3212.                             *RedDeviceGamma: 14000
  3213.                             *GreenDeviceGamma: 15400
  3214.                             *BlueDeviceGamma: 14000
  3215.                         }
  3216.                         *case: BluishGreen
  3217.                         {
  3218.                             *RedDeviceGamma: 14000
  3219.                             *GreenDeviceGamma: 15400
  3220.                             *BlueDeviceGamma: 14700
  3221.                         }
  3222.                         *case: GreenishBlue
  3223.                         {
  3224.                             *RedDeviceGamma: 14000
  3225.                             *GreenDeviceGamma: 14700
  3226.                             *BlueDeviceGamma: 15400
  3227.                         }
  3228.                         *case: Blue
  3229.                         {
  3230.                             *RedDeviceGamma: 14000
  3231.                             *GreenDeviceGamma: 14000
  3232.                             *BlueDeviceGamma: 15400
  3233.                         }
  3234.                         *case: BluishPurple
  3235.                         {
  3236.                             *RedDeviceGamma: 14700
  3237.                             *GreenDeviceGamma: 14000
  3238.                             *BlueDeviceGamma: 15400
  3239.                         }
  3240.                         *case: Purple
  3241.                         {
  3242.                             *RedDeviceGamma: 15400
  3243.                             *GreenDeviceGamma: 14000
  3244.                             *BlueDeviceGamma: 15400
  3245.                         }
  3246.                         *case: ReddishPurple
  3247.                         {
  3248.                             *RedDeviceGamma: 15400
  3249.                             *GreenDeviceGamma: 14000
  3250.                             *BlueDeviceGamma: 14700
  3251.                         }
  3252.                         *case: Red
  3253.                         {
  3254.                             *RedDeviceGamma: 15400
  3255.                             *GreenDeviceGamma: 14000
  3256.                             *BlueDeviceGamma: 14000
  3257.                         }
  3258.                         *case: Orange
  3259.                         {
  3260.                             *RedDeviceGamma: 15400
  3261.                             *GreenDeviceGamma: 14700
  3262.                             *BlueDeviceGamma: 14000
  3263.                         }
  3264.                         *case: YellowishOrange
  3265.                         {
  3266.                             *RedDeviceGamma: 15400
  3267.                             *GreenDeviceGamma: 15050
  3268.                             *BlueDeviceGamma: 14000
  3269.                         }
  3270.                     }
  3271.                 }
  3272.                 *case: High
  3273.                 {   *% +20% (+2800)
  3274.                     *switch: DeviceGammaAdjustmentHue
  3275.                     {
  3276.                         *case: Yellow
  3277.                         {
  3278.                             *RedDeviceGamma: 16800
  3279.                             *GreenDeviceGamma: 16800
  3280.                             *BlueDeviceGamma: 14000
  3281.                         }
  3282.                         *case: YellowishGreen
  3283.                         {
  3284.                             *RedDeviceGamma: 15400
  3285.                             *GreenDeviceGamma: 16800
  3286.                             *BlueDeviceGamma: 14000
  3287.                         }
  3288.                         *case: Green
  3289.                         {
  3290.                             *RedDeviceGamma: 14000
  3291.                             *GreenDeviceGamma: 16800
  3292.                             *BlueDeviceGamma: 14000
  3293.                         }
  3294.                         *case: BluishGreen
  3295.                         {
  3296.                             *RedDeviceGamma: 14000
  3297.                             *GreenDeviceGamma: 16800
  3298.                             *BlueDeviceGamma: 15400
  3299.                         }
  3300.                         *case: GreenishBlue
  3301.                         {
  3302.                             *RedDeviceGamma: 14000
  3303.                             *GreenDeviceGamma: 15400
  3304.                             *BlueDeviceGamma: 16800
  3305.                         }
  3306.                         *case: Blue
  3307.                         {
  3308.                             *RedDeviceGamma: 14000
  3309.                             *GreenDeviceGamma: 14000
  3310.                             *BlueDeviceGamma: 16800
  3311.                         }
  3312.                         *case: BluishPurple
  3313.                         {
  3314.                             *RedDeviceGamma: 15400
  3315.                             *GreenDeviceGamma: 14000
  3316.                             *BlueDeviceGamma: 16800
  3317.                         }
  3318.                         *case: Purple
  3319.                         {
  3320.                             *RedDeviceGamma: 16800
  3321.                             *GreenDeviceGamma: 14000
  3322.                             *BlueDeviceGamma: 16800
  3323.                         }
  3324.                         *case: ReddishPurple
  3325.                         {
  3326.                             *RedDeviceGamma: 16800
  3327.                             *GreenDeviceGamma: 14000
  3328.                             *BlueDeviceGamma: 15400
  3329.                         }
  3330.                         *case: Red
  3331.                         {
  3332.                             *RedDeviceGamma: 16800
  3333.                             *GreenDeviceGamma: 14000
  3334.                             *BlueDeviceGamma: 14000
  3335.                         }
  3336.                         *case: Orange
  3337.                         {
  3338.                             *RedDeviceGamma: 16800
  3339.                             *GreenDeviceGamma: 15400
  3340.                             *BlueDeviceGamma: 14000
  3341.                         }
  3342.                         *case: YellowishOrange
  3343.                         {
  3344.                             *RedDeviceGamma: 16800
  3345.                             *GreenDeviceGamma: 16100
  3346.                             *BlueDeviceGamma: 14000
  3347.                         }
  3348.                     }
  3349.                 }
  3350.             }
  3351.         }
  3352.     }
  3353. }
  3354.  
  3355. *BlockMacro: BM_DEVGAMMAADJ_BRIGHTNESS_OPTIONS
  3356. {
  3357.     *rcNameID: =RC_STR_BRGHTNSS
  3358.     *FeatureType: DOC_PROPERTY
  3359.     *DefaultOption: Light3
  3360.     *Option: DriverDefault
  3361.     {
  3362.         *rcNameID: =RC_STR_DRVDEF
  3363.         *switch: DMS
  3364.         {
  3365.             *case: Disable
  3366.             {
  3367.                 *Command: CmdSelect
  3368.                 {
  3369.                     *Order: DOC_SETUP.997
  3370.                     *Cmd: ""
  3371.                 }
  3372.             }
  3373.         }
  3374.     }
  3375.     *Option: Dark2
  3376.     {
  3377.         *rcNameID: =RC_STR_DARK2
  3378.         *switch: DMS
  3379.         {
  3380.             *case: Disable
  3381.             {
  3382.                 *Command: CmdSelect
  3383.                 {
  3384.                     *Order: DOC_SETUP.997
  3385.                     *Cmd: ""
  3386.                 }
  3387.             }
  3388.         }
  3389.     }
  3390.     *Option: Dark1
  3391.     {
  3392.         *rcNameID: =RC_STR_DARK1
  3393.         *switch: DMS
  3394.         {
  3395.             *case: Disable
  3396.             {
  3397.                 *Command: CmdSelect
  3398.                 {
  3399.                     *Order: DOC_SETUP.997
  3400.                     *Cmd: ""
  3401.                 }
  3402.             }
  3403.         }
  3404.     }
  3405.     *Option: Normal
  3406.     {
  3407.         *rcNameID: =RC_STR_NORMAL
  3408.         *switch: DMS
  3409.         {
  3410.             *case: Disable
  3411.             {
  3412.                 *Command: CmdSelect
  3413.                 {
  3414.                     *Order: DOC_SETUP.997
  3415.                     *Cmd: ""
  3416.                 }
  3417.             }
  3418.         }
  3419.     }
  3420.     *Option: Light1
  3421.     {
  3422.         *rcNameID: =RC_STR_LGHT1
  3423.         *switch: DMS
  3424.         {
  3425.             *case: Disable
  3426.             {
  3427.                 *Command: CmdSelect
  3428.                 {
  3429.                     *Order: DOC_SETUP.997
  3430.                     *Cmd: ""
  3431.                 }
  3432.              }
  3433.         }
  3434.     }
  3435.     *Option: Light2
  3436.     {
  3437.         *rcNameID: =RC_STR_LGHT2
  3438.         *switch: DMS
  3439.         {
  3440.             *case: Disable
  3441.             {
  3442.                 *Command: CmdSelect
  3443.                 {
  3444.                     *Order: DOC_SETUP.997
  3445.                     *Cmd: ""
  3446.                 }
  3447.             }
  3448.         }
  3449.     }
  3450.     *Option: Light3
  3451.     {
  3452.         *rcNameID: =RC_STR_LGHT3
  3453.         *switch: DMS
  3454.         {
  3455.             *case: Disable
  3456.             {
  3457.                 *Command: CmdSelect
  3458.                 {
  3459.                     *Order: DOC_SETUP.997
  3460.                     *Cmd: ""
  3461.                 }
  3462.             }
  3463.         }
  3464.     }
  3465.     *Option: Light4
  3466.     {
  3467.         *rcNameID: =RC_STR_LGHT4
  3468.         *switch: DMS
  3469.         {
  3470.             *case: Disable
  3471.             {
  3472.                 *Command: CmdSelect
  3473.                 {
  3474.                     *Order: DOC_SETUP.997
  3475.                     *Cmd: ""
  3476.                 }
  3477.             }
  3478.         }
  3479.     }
  3480. }
  3481.  
  3482. *BlockMacro: BM_DEVGAMMAADJ_HUE_OPTIONS
  3483. {
  3484.     *rcNameID: =RC_STR_HUE
  3485.     *FeatureType: DOC_PROPERTY
  3486.     *DefaultOption: Red
  3487.     *Option: Yellow
  3488.     {
  3489.         *rcNameID: =RC_STR_YLW
  3490.         *switch: DMS
  3491.         {
  3492.             *case: Disable
  3493.             {
  3494.                 *Command: CmdSelect
  3495.                 {
  3496.                     *Order: DOC_SETUP.996
  3497.                     *Cmd: ""
  3498.                 }
  3499.             }
  3500.         }
  3501.     }
  3502.     *Option: YellowishGreen
  3503.     {
  3504.         *rcNameID: =RC_STR_YLWGRN
  3505.         *switch: DMS
  3506.         {
  3507.             *case: Disable
  3508.             {
  3509.                 *Command: CmdSelect
  3510.                 {
  3511.                     *Order: DOC_SETUP.996
  3512.                     *Cmd: ""
  3513.                 }
  3514.             }
  3515.         }
  3516.     }
  3517.     *Option: Green
  3518.     {
  3519.         *rcNameID: =RC_STR_GRN
  3520.         *switch: DMS
  3521.         {
  3522.             *case: Disable
  3523.             {
  3524.                 *Command: CmdSelect
  3525.                 {
  3526.                     *Order: DOC_SETUP.996
  3527.                     *Cmd: ""
  3528.                 }
  3529.             }
  3530.         }
  3531.     }
  3532.     *Option: BluishGreen
  3533.     {
  3534.         *rcNameID: =RC_STR_BLUGRN
  3535.         *switch: DMS
  3536.         {
  3537.             *case: Disable
  3538.             {
  3539.                 *Command: CmdSelect
  3540.                 {
  3541.                     *Order: DOC_SETUP.996
  3542.                     *Cmd: ""
  3543.                 }
  3544.             }
  3545.         }
  3546.     }
  3547.     *Option: GreenishBlue
  3548.     {
  3549.         *rcNameID: =RC_STR_GRNBLU
  3550.         *switch: DMS
  3551.         {
  3552.             *case: Disable
  3553.             {
  3554.                 *Command: CmdSelect
  3555.                 {
  3556.                     *Order: DOC_SETUP.996
  3557.                     *Cmd: ""
  3558.                 }
  3559.             }
  3560.         }
  3561.     }
  3562.     *Option: Blue
  3563.     {
  3564.         *rcNameID: =RC_STR_BLU
  3565.         *switch: DMS
  3566.         {
  3567.             *case: Disable
  3568.             {
  3569.                 *Command: CmdSelect
  3570.                 {
  3571.                     *Order: DOC_SETUP.996
  3572.                     *Cmd: ""
  3573.                 }
  3574.             }
  3575.         }
  3576.     }
  3577.     *Option: BluishPurple
  3578.     {
  3579.         *rcNameID: =RC_STR_BLUPPL
  3580.         *switch: DMS
  3581.         {
  3582.             *case: Disable
  3583.             {
  3584.                 *Command: CmdSelect
  3585.                 {
  3586.                     *Order: DOC_SETUP.996
  3587.                     *Cmd: ""
  3588.                 }
  3589.             }
  3590.         }
  3591.     }
  3592.     *Option: Purple
  3593.     {
  3594.         *rcNameID: =RC_STR_PPL
  3595.         *switch: DMS
  3596.         {
  3597.             *case: Disable
  3598.             {
  3599.                 *Command: CmdSelect
  3600.                 {
  3601.                     *Order: DOC_SETUP.996
  3602.                     *Cmd: ""
  3603.                 }
  3604.             }
  3605.         }
  3606.     }
  3607.     *Option: ReddishPurple
  3608.     {
  3609.         *rcNameID: =RC_STR_REDPPL
  3610.         *switch: DMS
  3611.         {
  3612.             *case: Disable
  3613.             {
  3614.                 *Command: CmdSelect
  3615.                 {
  3616.                     *Order: DOC_SETUP.996
  3617.                     *Cmd: ""
  3618.                 }
  3619.             }
  3620.         }
  3621.     }
  3622.     *Option: Red
  3623.     {
  3624.         *rcNameID: =RC_STR_RED
  3625.         *switch: DMS
  3626.         {
  3627.             *case: Disable
  3628.             {
  3629.                 *Command: CmdSelect
  3630.                 {
  3631.                     *Order: DOC_SETUP.996
  3632.                     *Cmd: ""
  3633.                 }
  3634.             }
  3635.         }
  3636.     }
  3637.     *Option: Orange
  3638.     {
  3639.         *rcNameID: =RC_STR_ORG
  3640.         *switch: DMS
  3641.         {
  3642.             *case: Disable
  3643.             {
  3644.                 *Command: CmdSelect
  3645.                 {
  3646.                     *Order: DOC_SETUP.996
  3647.                     *Cmd: ""
  3648.                 }
  3649.             }
  3650.         }
  3651.     }
  3652.     *Option: YellowishOrange
  3653.     {
  3654.         *rcNameID: =RC_STR_YLWORG
  3655.         *switch: DMS
  3656.         {
  3657.             *case: Disable
  3658.             {
  3659.                 *Command: CmdSelect
  3660.                 {
  3661.                     *Order: DOC_SETUP.996
  3662.                     *Cmd: ""
  3663.                 }
  3664.             }
  3665.         }
  3666.     }
  3667. }
  3668.  
  3669. *BlockMacro: BM_DEVGAMMAADJ_CHROMA_OPTIONS
  3670. {
  3671.     *rcNameID: =RC_STR_CHROMA
  3672.     *FeatureType: DOC_PROPERTY
  3673.     *DefaultOption: High
  3674.     *Option: Flat
  3675.     {
  3676.         *rcNameID: =RC_STR_FLAT
  3677.         *switch: DMS
  3678.         {
  3679.             *case: Disable
  3680.             {
  3681.                 *Command: CmdSelect
  3682.                 {
  3683.                     *Order: DOC_SETUP.996
  3684.                     *Cmd: ""
  3685.                 }
  3686.             }
  3687.         }
  3688.     }
  3689.     *Option: Low
  3690.     {
  3691.         *rcNameID: =RC_STR_LOW
  3692.         *switch: DMS
  3693.         {
  3694.             *case: Disable
  3695.             {
  3696.                 *Command: CmdSelect
  3697.                 {
  3698.                     *Order: DOC_SETUP.996
  3699.                     *Cmd: ""
  3700.                 }
  3701.             }
  3702.         }
  3703.     }
  3704.     *Option: Medium
  3705.     {
  3706.         *rcNameID: =RC_STR_MED
  3707.         *switch: DMS
  3708.         {
  3709.             *case: Disable
  3710.             {
  3711.                 *Command: CmdSelect
  3712.                 {
  3713.                     *Order: DOC_SETUP.996
  3714.                     *Cmd: ""
  3715.                 }
  3716.             }
  3717.         }
  3718.     }
  3719.     *Option: High
  3720.     {
  3721.         *rcNameID: =RC_STR_HIGH
  3722.         *switch: DMS
  3723.         {
  3724.             *case: Disable
  3725.             {
  3726.                 *Command: CmdSelect
  3727.                 {
  3728.                     *Order: DOC_SETUP.996
  3729.                     *Cmd: ""
  3730.                 }
  3731.             }
  3732.         }
  3733.     }
  3734. }
  3735. *% Macros for US English (ESC/PAGE version)
  3736. *Macros: CmdStrings
  3737. {
  3738.     CMD_STARTDOC_INI   : "<1B01>@EJL <0A>@EJL EN LA=ESC/PAGE<0A>"
  3739. +                        "<1B01>@EJL <0A>@EJL SE LA=ESC/PAGE<0A>"
  3740. +                        "@EJL SET EC=ON PU=1 ZO=OFF RS=FN<0A>"
  3741. +                        "<1D>rhE<1D>0;0.12muE"
  3742.     CMD_STARTDOC_INI_FN   : "<1B01>@EJL <0A>@EJL SE LA=ESC/PAGE<0A>"
  3743. +                        "@EJL SET EC=ON ZO=OFF RESOLUTION=FINE"
  3744.     CMD_STARTDOC_INI_QK   : "<1B01>@EJL <0A>@EJL SE LA=ESC/PAGE<0A>"
  3745. +                        "@EJL SET EC=ON ZO=OFF RESOLUTION=QUICK"
  3746.     CMD_STARTDOC_FIN   : "@EJL EN LA=ESC/PAGE<0A>"
  3747. +                        "<1D>rhE<1D>0;0.12muE<1D>14isE<1D>2iaF<1D>24ifF<1D>1ipP"
  3748.     CMD_STARTDOC_C_INI : "<1B01>@EJL <0A>@EJL SE LA=ESC/PAGE<0A>"
  3749. +                        "@EJL SET EC=ON PU=1 ZO=OFF<0A>"
  3750.     CMD_STARTDOC_C_FIN : "@EJL EN LA=ESC/PAGE-COLOR<0A>"
  3751. +                        "<1D>rhE<1D>0;0.12muE<1D>2;160wfE<1D>5;136wfE"
  3752.     CMD_STARTDOC_C_FIN_QK : "@EJL SET RS=QK<0A>@EJL EN LA=ESC/PAGE-COLOR<0A>"
  3753. +                        "<1D>rhE<1D>0;0.12muE"
  3754.     CMD_STARTDOC_C_FIN_FN : "@EJL SET RS=FN<0A>@EJL EN LA=ESC/PAGE-COLOR<0A>"
  3755. +                        "<1D>rhE<1D>0;0.12muE"
  3756.     CMD_EJL_SET        : "@EJL SET"
  3757.     CMD_EJL_DEF        : " ERRORCODE=ON ZOOM=OFF"
  3758.     CMD_EJL_FACEDOWN   : " OU=FD"
  3759.     CMD_EJL_FACEUP     : " OU=FU"
  3760.     CMD_EJL_FINE       : " RESOLUTION=FINE"
  3761.     CMD_EJL_QUICK      : " RESOLUTION=QUICK"
  3762.     CMD_EJL_NORMAL     : " PAPERTHICKNESS=NORMAL"
  3763.     CMD_EJL_THICK      : " PAPERTHICKNESS=THICK"
  3764.     CMD_EJL_THIN       : " PAPERTHICKNESS=THIN"
  3765.     CMD_EJL_OHP        : " PAPERTHICKNESS=TRANSPARENCY"
  3766.     CMD_EJL_END        : "<0A>"
  3767.  
  3768.     CMD_COLADJ_PHOTOACC    : "<1D>0;0cmmE<1D>1;2;3ccmE<1D>2;2;4ccmE<1D>3;2;4ccmE<1D>"
  3769. +                            "1;2raE<1D>2;2raE<1D>3;2raE<1D>1cmmE"
  3770.     CMD_COLADJ_VIVIDACC    : "<1D>0;0cmmE<1D>1;2;3ccmE<1D>2;2;3ccmE<1D>3;2;4ccmE<1D>"
  3771. +                            "1;1raE<1D>2;1raE<1D>3;1raE<1D>1cmmE"
  3772.     CMD_COLADJ_PHOTO       : "<1D>0;1cmmE<1D>0;2;4ccmE<1D>"
  3773. +                            "0;2raE<1D>1cmmE"
  3774.     CMD_COLADJ_VIVID       : "<1D>0;1cmmE<1D>0;2;3ccmE<1D>"
  3775. +                            "0;2raE<1D>1cmmE"
  3776.     CMD_COLADJ_NONE        : "<1D>0;1cmmE<1D>0;2;2ccmE<1D>"
  3777. +                            "0;1raE<1D>1cmmE"
  3778. }
  3779. *CodePage: 1252
  3780. *ModelName: "Epson AL-C8500"
  3781. *MasterUnits: PAIR(1200, 1200)
  3782. *ResourceDLL: "EPLRCZ00.DLL"
  3783. *PrinterType: PAGE
  3784. *MaxCopies: 255
  3785. *PrintRate: 4
  3786. *PrintRateUnit: PPM
  3787. *FontCartSlots: 0
  3788. *rcInstalledOptionNameID: =RC_STR_OPTION_ON
  3789. *rcNotInstalledOptionNameID: =RC_STR_OPTION_OFF
  3790.  
  3791. *Feature: Orientation
  3792. {
  3793.     *rcNameID: =ORIENTATION_DISPLAY
  3794.     *DefaultOption: PORTRAIT
  3795.     *Option: PORTRAIT
  3796.     {
  3797.         *rcNameID: =PORTRAIT_DISPLAY
  3798.         *switch: DMS
  3799.         {
  3800.             *case: Disable
  3801.             {
  3802.                 *Command: CmdSelect
  3803.                 {
  3804.                     *Order: DOC_SETUP.30
  3805.                     *Cmd: "<1D>0poE"
  3806.                 }
  3807.             }
  3808.         }
  3809.     }
  3810.     *Option: LANDSCAPE_CC90
  3811.     {
  3812.         *rcNameID: =LANDSCAPE_DISPLAY
  3813.         *switch: DMS
  3814.         {
  3815.             *case: Disable
  3816.             {
  3817.                 *Command: CmdSelect
  3818.                 {
  3819.                     *Order: DOC_SETUP.30
  3820.                     *Cmd: "<1D>1poE"
  3821.                 }
  3822.             }
  3823.         }
  3824.     }
  3825. }
  3826.  
  3827. *Feature: InputBin
  3828. {
  3829.     *rcNameID: =PAPER_SOURCE_DISPLAY
  3830.     *DefaultOption: AUTOSEL
  3831.     *Option: AUTOSEL
  3832.     {
  3833.         *rcNameID: =RC_STR_AUTOSEL
  3834.         *switch: DMS
  3835.         {
  3836.             *case: Disable
  3837.             {
  3838.                 *Command: CmdSelect
  3839.                 {
  3840.                     *Order: DOC_SETUP.50
  3841.                     *Cmd: "<1D>0;0iuE"
  3842.                 }
  3843.             }
  3844.         }
  3845.     }
  3846.     *Option: CST1_E
  3847.     {
  3848.         *rcNameID: =RC_STR_CST1
  3849.         *switch: DMS
  3850.         {
  3851.             *case: Disable
  3852.             {
  3853.                 *Command: CmdSelect
  3854.                 {
  3855.                     *Order: DOC_SETUP.50
  3856.                     *Cmd: "<1D>2;1iuE"
  3857.                 }
  3858.             }
  3859.         }
  3860.     }
  3861.     *Option: CST2_E
  3862.     {
  3863.         *rcNameID: =RC_STR_CST2
  3864.         *Installable?: TRUE
  3865.         *rcInstallableFeatureNameID: =RC_STR_CST2
  3866.         *switch: DMS
  3867.         {
  3868.             *case: Disable
  3869.             {
  3870.                 *Command: CmdSelect
  3871.                 {
  3872.                     *Order: DOC_SETUP.50
  3873.                     *Cmd: "<1D>3;1iuE"
  3874.                 }
  3875.             }
  3876.         }
  3877.         *Constraints: LIST(LowerCassetteUnits.NotInstalled)
  3878.     }
  3879.     *Option: CST3_E
  3880.     {
  3881.         *rcNameID: =RC_STR_CST3
  3882.         *Installable?: TRUE
  3883.         *rcInstallableFeatureNameID: =RC_STR_CST3
  3884.         *switch: DMS
  3885.         {
  3886.             *case: Disable
  3887.             {
  3888.                 *Command: CmdSelect
  3889.                 {
  3890.                     *Order: DOC_SETUP.50
  3891.                     *Cmd: "<1D>4;1iuE"
  3892.                 }
  3893.             }
  3894.         }
  3895.         *Constraints: LIST(LowerCassetteUnits.NotInstalled, LowerCassetteUnits.500ST_CST)
  3896.     }
  3897.     *Option: FTRAY_E
  3898.     {
  3899.         *rcNameID: =RC_STR_TRAY
  3900.         *switch: DMS
  3901.         {
  3902.             *case: Disable
  3903.             {
  3904.                 *Command: CmdSelect
  3905.                 {
  3906.                     *Order: DOC_SETUP.50
  3907.                     *Cmd: "<1D>1;1iuE"
  3908.                 }
  3909.             }
  3910.         }
  3911.     }
  3912. }
  3913.  
  3914. *Feature: OutputBin
  3915. {
  3916.     *rcNameID: =OUTPUTBIN_DISPLAY
  3917.     *DefaultOption: FACEDOWN
  3918.     *Option: FACEDOWN
  3919.     {
  3920.         *rcNameID: =RC_STR_FACEDOWN
  3921.         *switch: DMS
  3922.         {
  3923.             *case: Disable
  3924.             {
  3925.                 *Command: CmdSelect
  3926.                 {
  3927.                     *Order: DOC_SETUP.2
  3928.                     *Cmd: =CMD_EJL_FACEDOWN
  3929.                 }
  3930.             }
  3931.         }
  3932.         *Constraints: LIST(PaperSize.A5, PaperSize.HLT, PaperSize.IB5)
  3933.     }
  3934.     *Option: FACEUP
  3935.     {
  3936.         *rcNameID: =RC_STR_FACEUP
  3937.         *OutputOrderReversed?: TRUE
  3938.         *switch: DMS
  3939.         {
  3940.             *case: Disable
  3941.             {
  3942.                 *Command: CmdSelect
  3943.                 {
  3944.                     *Order: DOC_SETUP.2
  3945.                     *Cmd: =CMD_EJL_FACEUP
  3946.                 }
  3947.             }
  3948.         }
  3949.     }
  3950. }
  3951.  
  3952. *Feature: LowerCassetteUnits
  3953. {
  3954.     *FeatureType: PRINTER_PROPERTY
  3955.     *rcNameID: =RC_STR_LCST
  3956.     *DefaultOption: NotInstalled
  3957.     *Option: NotInstalled
  3958.     {
  3959.         *rcNameID: =RC_STR_OPTION_OFF
  3960.     }
  3961.     *Option: HIGHCAP_CST
  3962.     {
  3963.         *rcNameID: =RC_STR_HIGHCAPACITY
  3964.     }
  3965.     *Option: 500ST_CST
  3966.     {
  3967.         *rcNameID: =RC_STR_500S_CST
  3968.     }
  3969. }
  3970.  
  3971. *Feature: MediaType
  3972. {
  3973.     *rcNameID: =MEDIA_TYPE_DISPLAY
  3974.     *DefaultOption: STANDARD
  3975.     *Option: STANDARD
  3976.     {
  3977.         *rcNameID: =PLAIN_PAPER_DISPLAY
  3978.         *switch: DMS
  3979.         {
  3980.             *case: Disable
  3981.             {
  3982.                 *Command: CmdSelect
  3983.                 {
  3984.                     *Order: DOC_SETUP.3
  3985.                     *Cmd: =CMD_EJL_NORMAL
  3986.                 }
  3987.             }
  3988.         }
  3989.     }
  3990.     *Option: TRANSPARENCY
  3991.     {
  3992.         *rcNameID: =TRANSPARENCY_DISPLAY
  3993.         *switch: DMS
  3994.         {
  3995.             *case: Disable
  3996.             {
  3997.                 *Command: CmdSelect
  3998.                 {
  3999.                     *Order: DOC_SETUP.3
  4000.                     *Cmd: =CMD_EJL_OHP
  4001.                 }
  4002.             }
  4003.         }
  4004.     }
  4005.     *Option: THICK
  4006.     {
  4007.         *rcNameID: =RC_STR_THICK
  4008.         *switch: DMS
  4009.         {
  4010.             *case: Disable
  4011.             {
  4012.                 *Command: CmdSelect
  4013.                 {
  4014.                     *Order: DOC_SETUP.3
  4015.                     *Cmd: =CMD_EJL_THICK
  4016.                 }
  4017.             }
  4018.         }
  4019.     }
  4020. }
  4021.  
  4022. *Feature: ColorAdjustment
  4023. {
  4024.     *rcNameID: =RC_STR_CLRADJUST
  4025.     *FeatureType: DOC_PROPERTY
  4026.     *DefaultOption: PhotoRealAcc
  4027.     *Option: PhotoRealAcc
  4028.     {
  4029.         *rcNameID: =RC_STR_PHOTOREALACC
  4030.         *switch: DMS
  4031.         {
  4032.             *case: Disable
  4033.             {
  4034.                 *Command: CmdSelect
  4035.                 {
  4036.                     *Order: DOC_SETUP.16
  4037.                     *Cmd: =CMD_COLADJ_PHOTOACC
  4038.                 }
  4039.             }
  4040.         }
  4041.     }
  4042.     *Option: VividAcc
  4043.     {
  4044.         *rcNameID: =RC_STR_VIVIDACC
  4045.         *switch: DMS
  4046.         {
  4047.             *case: Disable
  4048.             {
  4049.                 *Command: CmdSelect
  4050.                 {
  4051.                     *Order: DOC_SETUP.16
  4052.                     *Cmd: =CMD_COLADJ_VIVIDACC
  4053.                 }
  4054.             }
  4055.         }
  4056.     }
  4057.     *Option: PhotoReal
  4058.     {
  4059.         *rcNameID: =RC_STR_PHOTOREAL
  4060.         *switch: DMS
  4061.         {
  4062.             *case: Disable
  4063.             {
  4064.                 *Command: CmdSelect
  4065.                 {
  4066.                     *Order: DOC_SETUP.16
  4067.                     *Cmd: =CMD_COLADJ_PHOTO
  4068.                 }
  4069.             }
  4070.         }
  4071.     }
  4072.     *Option: Vivid
  4073.     {
  4074.         *rcNameID: =RC_STR_VIVID
  4075.         *switch: DMS
  4076.         {
  4077.             *case: Disable
  4078.             {
  4079.                 *Command: CmdSelect
  4080.                 {
  4081.                     *Order: DOC_SETUP.16
  4082.                     *Cmd: =CMD_COLADJ_VIVID
  4083.                 }
  4084.             }
  4085.         }
  4086.     }
  4087.     *Option: None
  4088.     {
  4089.         *rcNameID: =RC_STR_NONE
  4090.         *switch: ColorMode
  4091.         {
  4092.             *case: Mono
  4093.             {
  4094.                 *switch: DMS
  4095.                 {
  4096.                     *case: Disable
  4097.                     {
  4098.                         *Command: CmdSelect
  4099.                         {
  4100.                             *Order: DOC_SETUP.16
  4101.                             *Cmd: ""
  4102.                         }
  4103.                     }
  4104.                 }
  4105.             }
  4106.             *case: 24bpp
  4107.             {
  4108.                 *switch: DMS
  4109.                 {
  4110.                     *case: Disable
  4111.                     {
  4112.                         *Command: CmdSelect
  4113.                         {
  4114.                             *Order: DOC_SETUP.16
  4115.                             *Cmd: =CMD_COLADJ_NONE
  4116.                         }
  4117.                     }
  4118.                 }
  4119.             }
  4120.         }
  4121.     }
  4122. }
  4123.  
  4124. *Feature: DeviceGammaAdjustmentBrightness
  4125. {
  4126.     *InsertBlock: =BM_DEVGAMMAADJ_BRIGHTNESS_OPTIONS
  4127. }
  4128. *Feature: DeviceGammaAdjustmentHue
  4129. {
  4130.     *InsertBlock: =BM_DEVGAMMAADJ_HUE_OPTIONS
  4131. }
  4132. *Feature: DeviceGammaAdjustmentChroma
  4133. {
  4134.     *InsertBlock: =BM_DEVGAMMAADJ_CHROMA_OPTIONS
  4135. }
  4136.  
  4137. *Feature: StartDocFin
  4138. {
  4139.     *rcNameID: =RC_STR_NONE  *% Dummy
  4140.     *ConcealFromUI?: TRUE
  4141.     *DefaultOption: Option1
  4142.     *Option: Option1
  4143.     {
  4144.         *rcNameID: =RC_STR_NONE  *% Dummy
  4145.         *switch: ColorMode
  4146.         {
  4147.             *case: Mono
  4148.             {
  4149.                 *switch: DMS
  4150.                 {
  4151.                     *case: Disable
  4152.                     {
  4153.                         *Command: CmdSelect
  4154.                         {
  4155.                             *Order: DOC_SETUP.10
  4156.                             *Cmd: =CMD_EJL_END =CMD_STARTDOC_FIN
  4157.                         }
  4158.                     }
  4159.                 }
  4160.             }
  4161.             *case: 24bpp
  4162.             {
  4163.                 *switch: Resolution
  4164.                 {
  4165.                     *case: 300dpi
  4166.                     {
  4167.                         *switch: DMS
  4168.                         {
  4169.                             *case: Disable
  4170.                             {
  4171.                                  *Command: CmdSelect
  4172.                                 {
  4173.                                     *Order: DOC_SETUP.10
  4174.                                     *Cmd: =CMD_EJL_END =CMD_STARTDOC_C_FIN_QK
  4175.                                 }
  4176.                             }
  4177.                         }
  4178.                      }
  4179.                     *case: 600dpi
  4180.                     {
  4181.                         *switch: DMS
  4182.                         {
  4183.                             *case: Disable
  4184.                             {
  4185.                                 *Command: CmdSelect
  4186.                                 {
  4187.                                     *Order: DOC_SETUP.10
  4188.                                     *Cmd: =CMD_EJL_END =CMD_STARTDOC_C_FIN_FN
  4189.                                 }
  4190.                             }
  4191.                         }
  4192.                      }
  4193.                 }
  4194.             }
  4195.         }
  4196.     }
  4197. }
  4198.  
  4199. *Feature: ColorMode
  4200. {
  4201.     *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  4202.     *DefaultOption: 24bpp
  4203.     *Option: Mono
  4204.     {
  4205.         *rcNameID: =MONO_DISPLAY
  4206.         *DevNumOfPlanes: 1
  4207.         *DevBPP: 1
  4208.         *Color? : FALSE
  4209. *%      *DisabledFeatures: LIST(PrinterMode,ColorAdjustment)
  4210.         *DisabledFeatures: LIST(ColorAdjustment)
  4211.         *switch: DMS
  4212.         {
  4213.             *case: Disable
  4214.             {
  4215.                 *Command: CmdSelect
  4216.                 {
  4217.                     *Order: DOC_SETUP.11
  4218.                     *Cmd: ""
  4219.                 }
  4220.             }
  4221.         }
  4222.     }
  4223.     *Option: 24bpp
  4224.     {
  4225.         *rcNameID: =24BPP_DISPLAY
  4226.         *DevNumOfPlanes: 1
  4227.         *DevBPP: 24
  4228.         *DrvBPP: 24
  4229.         *PaletteSize: 16
  4230.         *PaletteProgrammable?: TRUE
  4231.  
  4232.         *Command: CmdDefinePaletteEntry
  4233.         {
  4234.             *CallbackID: =DEFINE_PALETTE_ENTRY
  4235.             *Params: LIST(PaletteIndexToProgram,RedValue,GreenValue,BlueValue)
  4236.         }
  4237.         *Command: CmdSelectPaletteEntry
  4238.         {
  4239.             *CallbackID: =SELECT_PALETTE_ENTRY
  4240.             *Params: LIST(CurrentPaletteIndex)
  4241.         }
  4242.         *Command: CmdSetSrcBmpWidth
  4243.         {
  4244.             *CallbackID: =SET_SRC_BMP_WIDTH
  4245.             *Params: LIST(RasterDataWidthInBytes)
  4246.         }
  4247.         *Command: CmdSetSrcBmpHeight
  4248.         {
  4249.             *CallbackID: =SET_SRC_BMP_HEIGHT
  4250.             *Params: LIST(RasterDataHeightInPixels)
  4251.         }
  4252.         *switch: DMS
  4253.         {
  4254.             *case: Disable
  4255.             {
  4256.                 *Command: CmdSelect
  4257.                 {
  4258.                     *Order: DOC_SETUP.11
  4259.                     *Cmd: "<1D>0pdnO<1D>0pddO<1D>2;160wfE<1D>5;136wfE<1D>0;0mmE<1D>2csE"
  4260.                 }
  4261.             }
  4262.         }
  4263.     }
  4264. }
  4265.  
  4266. *Feature: Resolution
  4267. {
  4268.     *rcNameID: =RESOLUTION_DISPLAY
  4269.     *DefaultOption: 300dpi
  4270.     *Option: 300dpi
  4271.     {
  4272.         *Name: "300 x 300 dots per inch"
  4273.         *DPI: PAIR(300, 300)
  4274.         *TextDPI: PAIR(300, 300)
  4275.         *MinStripBlankPixels: 32
  4276.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  4277.         EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  4278.         *SpotDiameter: 100
  4279.         *switch: ColorMode
  4280.         {
  4281.             *case: Mono
  4282.             {
  4283.                 *Command: CmdSendBlockData
  4284.                 {
  4285.                     *Cmd: "<1D>" %d{NumOfDataBytes }";" %d{(RasterDataWidthInBytes * 8) }";"
  4286. +                 %d{RasterDataHeightInPixels } ";0bi{I"
  4287.                 }
  4288.                 *switch: DMS
  4289.                 {
  4290.                     *case: Disable
  4291.                     {
  4292.                         *Command: CmdSelect
  4293.                         {
  4294.                             *Order: DOC_SETUP.20
  4295.                             *Cmd: "<1D>0;300;300drE<1D>1;300;300drE<1D>2;300;300drE"
  4296.                         }
  4297.                     }
  4298.                 }
  4299.             }
  4300.             *case: 24bpp
  4301.             {
  4302.                 *Command: CmdSendBlockData
  4303.                 {
  4304.                     *CallbackID: =SEND_BLOCK_DATA
  4305.                     *Params: LIST(NumOfDataBytes,RasterDataWidthInBytes,RasterDataHeightInPixels)
  4306.                 }
  4307.                 *Command: CmdEndBlockData
  4308.                 {
  4309.                     *Cmd: "<1D>ecrI"
  4310.                 }
  4311.                 *switch: DMS
  4312.                 {
  4313.                     *case: Disable
  4314.                     {
  4315.                         *Command: CmdSelect
  4316.                         {
  4317.                             *Order: DOC_SETUP.20
  4318.                             *Cmd: "<1D>0;300;300drE<1D>1;300;300drE<1D>2;300;300drE<1D>3;300;300drE"
  4319.                         }
  4320.                     }
  4321.                 }
  4322.                 *InsertBlock: =BM_GAMMA_ADJUSTMENT
  4323.             }
  4324.         }
  4325.     }
  4326.     *Option: 600dpi
  4327.     {
  4328.         *Name: "600 x 600 dots per inch"
  4329.         *DPI: PAIR(600, 600)
  4330.         *TextDPI: PAIR(600, 600)
  4331.         *MinStripBlankPixels: 32
  4332.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  4333.         EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  4334.         *SpotDiameter: 100
  4335.         *switch: ColorMode
  4336.         {
  4337.             *case: Mono
  4338.             {
  4339.                 *Command: CmdSendBlockData
  4340.                 {
  4341.                     *Cmd : "<1D>" %d{NumOfDataBytes}";" %d{(RasterDataWidthInBytes * 8)}";"
  4342. +                 %d{RasterDataHeightInPixels}";0bi{I" 
  4343.                 }
  4344.                 *switch: DMS
  4345.                 {
  4346.                     *case: Disable
  4347.                     {
  4348.                         *Command: CmdSelect
  4349.                         {
  4350.                             *Order: DOC_SETUP.20
  4351.                             *Cmd: "<1D>0;600;600drE<1D>1;600;600drE<1D>2;600;600drE"
  4352.                         }
  4353.                     }
  4354.                 }
  4355.             }
  4356.             *case: 24bpp
  4357.             {
  4358.                 *Command: CmdSendBlockData
  4359.                 {
  4360.                     *CallbackID: =SEND_BLOCK_DATA
  4361.                     *Params: LIST(NumOfDataBytes,RasterDataWidthInBytes,RasterDataHeightInPixels)
  4362.                 }
  4363.                 *Command: CmdEndBlockData
  4364.                 {
  4365.                     *Cmd: "<1D>ecrI"
  4366.                 }
  4367.                 *switch: DMS
  4368.                 {
  4369.                     *case: Disable
  4370.                     {
  4371.                         *Command: CmdSelect
  4372.                         {
  4373.                             *Order: DOC_SETUP.20
  4374.                             *Cmd: "<1D>0;600;600drE<1D>1;600;600drE<1D>2;600;600drE<1D>3;600;600drE"
  4375.                         }
  4376.                     }
  4377.                 }
  4378.                 *InsertBlock: =BM_GAMMA_ADJUSTMENT
  4379.             }
  4380.         }
  4381.     }
  4382. }
  4383.  
  4384. *Feature: PaperSize
  4385. {
  4386.     *rcNameID: =PAPER_SIZE_DISPLAY
  4387.     *DefaultOption: A4
  4388.     *Option: A3
  4389.     {
  4390.         *InsertBlock: =BM_PS_A3
  4391.     }
  4392.     *Option: A4
  4393.     {
  4394.         *InsertBlock: =BM_PS_A4
  4395.     }
  4396.     *Option: A5
  4397.     {
  4398.         *InsertBlock: =BM_PS_A5
  4399.     }
  4400.     *Option: B5
  4401.     {
  4402.         *InsertBlock: =BM_PS_B5
  4403.     }
  4404.     *Option: LETTER
  4405.     {
  4406.         *InsertBlock: =BM_PS_LT
  4407.     }
  4408.     *Option: HLT
  4409.     {
  4410.         *InsertBlock: =BM_PS_HLT
  4411.     }
  4412.     *Option: LEGAL
  4413.     {
  4414.         *InsertBlock: =BM_PS_LGL
  4415.     }
  4416.     *Option: EXECUTIVE
  4417.     {
  4418.         *InsertBlock: =BM_PS_EXE
  4419.     }
  4420.     *Option: GLG
  4421.     {
  4422.         *InsertBlock: =BM_PS_GLG
  4423.     }
  4424.     *Option: GLT
  4425.     {
  4426.         *InsertBlock: =BM_PS_GLT
  4427.     }
  4428.     *Option: F4
  4429.     {
  4430.         *InsertBlock: =BM_PS_F4
  4431.     }
  4432.     *Option: ENV_MONARCH
  4433.     {
  4434.         *InsertBlock: =BM_PS_MON
  4435.     }
  4436.     *Option: C10
  4437.     {
  4438.         *InsertBlock: =BM_PS_C10
  4439.     }
  4440. *%    *Option: ENV_10
  4441. *%    {
  4442. *%        *InsertBlock: =BM_PS_E10
  4443. *%    }
  4444.     *Option: ENV_DL
  4445.     {
  4446.         *InsertBlock: =BM_PS_DL
  4447.     }
  4448. *%    *Option: ENV_C5
  4449. *%    {
  4450. *%        *InsertBlock: =BM_PS_C5
  4451. *%    }
  4452.     *Option: B
  4453.     {
  4454.         *InsertBlock: =BM_PS_LEDGER_PORTRAIT
  4455.     }
  4456.     *Option: B4
  4457.     {
  4458.         *InsertBlock: =BM_PS_B4
  4459.     }
  4460.     *Option: ENV_C6
  4461.     {
  4462.         *InsertBlock: =BM_PS_ENV_C6
  4463.     }
  4464.     *Option: IB5
  4465.     {
  4466.         *InsertBlock: =BM_PS_IB5
  4467.     }
  4468.     *Option: CUSTOMSIZE
  4469.     {
  4470.         *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  4471.         *MaxSize: PAIR(15492, 21384)
  4472.         *MinSize: PAIR( 4260,  6600)
  4473.         *MaxPrintableWidth: 15012
  4474.         *MinLeftMargin: 240
  4475.         *TopMargin:     240
  4476.         *TopMargin:     240
  4477.         *CenterPrintable?: TRUE
  4478.  
  4479.         *InsertBlock: =BM_PSB_CTM
  4480.     }
  4481.     *Option: A3W
  4482.     {
  4483.         *InsertBlock: =BM_PS_A3W
  4484.     }
  4485. }
  4486.  
  4487. *Feature: Halftone
  4488. {
  4489.     *rcNameID: =HALFTONING_DISPLAY
  4490.     *DefaultOption: HT_PATSIZE_AUTO
  4491.     *Option: HT_PATSIZE_AUTO
  4492.     {
  4493.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  4494.     }
  4495.     *Option: HT_PATSIZE_SUPERCELL_M
  4496.     {
  4497.         *rcNameID: =HT_SUPERCELL_DISPLAY
  4498.     }
  4499.     *Option: HT_PATSIZE_6x6_M
  4500.     {
  4501.         *rcNameID: =HT_DITHER6X6_DISPLAY
  4502.     }
  4503.     *Option: HT_PATSIZE_8x8_M
  4504.     {
  4505.         *rcNameID: =HT_DITHER8X8_DISPLAY
  4506.     }
  4507. }
  4508.  
  4509. *Feature: DMS
  4510. {
  4511.     *rcNameID: =RC_STR_DMS_FEATURE
  4512.     *FeatureType: JOB_PROPERTY
  4513.     *DefaultOption: Enable
  4514.     *Option: Enable
  4515.     {
  4516.          *rcNameID: =RC_STR_DMS_ENABLE
  4517.     }
  4518.     *Option: Disable
  4519.     {
  4520.          *rcNameID: =RC_STR_DMS_DISABLE
  4521.     }
  4522. }
  4523. *OEMCustomData:     "MEMORY=64<0D>"
  4524. +                   "CACHE=ESPER1<0D>"
  4525. +                   "TTFS=USA<0D>"
  4526. +                   "EJL=RS,PU,PS,OU,ZO,EC,SZ,RI,SN,PGIMODE,DL,SL,CO,QT,PK,TO,LO,STARTJOB,TB,LB<0D>"
  4527. +                   "<0C>"
  4528.  
  4529. *Feature: Memory
  4530. {
  4531.     *rcNameID: =PRINTER_MEMORY_DISPLAY
  4532.     *DefaultOption: 64MB
  4533.     *Option: 32MB
  4534.     {
  4535.         *Name: "32MB"
  4536.         *MemoryConfigMB: PAIR(32, 12)
  4537.     }
  4538.     *Option: 64MB
  4539.     {
  4540.         *Name: "64MB"
  4541.         *MemoryConfigMB: PAIR(64, 32)
  4542.     }
  4543.     *Option: 96MB
  4544.     {
  4545.         *Name: "96MB"
  4546.         *MemoryConfigMB: PAIR(96, 48)
  4547.     }
  4548.     *Option: 128MB
  4549.     {
  4550.         *Name: "128MB"
  4551.         *MemoryConfigMB: PAIR(128, 64)
  4552.     }
  4553.     *Option: 160MB
  4554.     {
  4555.         *Name: "160MB"
  4556.         *MemoryConfigMB: PAIR(160, 80)
  4557.     }
  4558.     *Option: 192MB
  4559.     {
  4560.         *Name: "192MB"
  4561.         *MemoryConfigMB: PAIR(192, 96)
  4562.     }
  4563.     *Option: 224MB
  4564.     {
  4565.         *Name: "224MB"
  4566.         *MemoryConfigMB: PAIR(224, 112)
  4567.     }
  4568.     *Option: 256MB
  4569.     {
  4570.         *Name: "256MB"
  4571.         *MemoryConfigMB: PAIR(256, 128)
  4572.     }
  4573.     *Option: 288MB
  4574.     {
  4575.         *Name: "288MB"
  4576.         *MemoryConfigMB: PAIR(288, 128)
  4577.     }
  4578.     *Option: 320MB
  4579.     {
  4580.         *Name: "320MB"
  4581.         *MemoryConfigMB: PAIR(320, 128)
  4582.     }
  4583.     *Option: 352MB
  4584.     {
  4585.         *Name: "352MB"
  4586.         *MemoryConfigMB: PAIR(352, 128)
  4587.     }
  4588.     *Option: 384MB
  4589.     {
  4590.         *Name: "384MB"
  4591.         *MemoryConfigMB: PAIR(384, 128)
  4592.     }
  4593.     *Option: 416MB
  4594.     {
  4595.         *Name: "416MB"
  4596.         *MemoryConfigMB: PAIR(416, 128)
  4597.     }
  4598.     *Option: 448MB
  4599.     {
  4600.         *Name: "448MB"
  4601.         *MemoryConfigMB: PAIR(448, 128)
  4602.     }
  4603.     *Option: 512MB
  4604.     {
  4605.         *Name: "512MB"
  4606.         *MemoryConfigMB: PAIR(512, 128)
  4607.     }
  4608.     *Option: 544MB
  4609.     {
  4610.         *Name: "544MB"
  4611.         *MemoryConfigMB: PAIR(544, 128)
  4612.     }
  4613.     *Option: 576MB
  4614.     {
  4615.         *Name: "576MB"
  4616.         *MemoryConfigMB: PAIR(576, 128)
  4617.     }
  4618.     *Option: 640MB
  4619.     {
  4620.         *Name: "640MB"
  4621.         *MemoryConfigMB: PAIR(640, 128)
  4622.     }
  4623.     *Option: 768MB
  4624.     {
  4625.         *Name: "768MB"
  4626.         *MemoryConfigMB: PAIR(768, 128)
  4627.     }
  4628. }
  4629. *Feature: DuplexUnit
  4630. {
  4631.     *FeatureType: PRINTER_PROPERTY
  4632.     *rcNameID: =RC_STR_DUPLEXUNIT
  4633.     *DefaultOption: NotInstalled
  4634.     *Option: NotInstalled
  4635.     {
  4636.         *rcNameID: =RC_STR_OPTION_OFF
  4637.         *DisabledFeatures: LIST(Duplex)
  4638.         *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  4639.     }
  4640.     *Option: Installed
  4641.     {
  4642.         *rcNameID: =RC_STR_OPTION_ON
  4643.     }
  4644. }
  4645.  
  4646. *Feature: Duplex
  4647. {
  4648.     *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  4649.     *DefaultOption: NONE
  4650.     *Option: NONE
  4651.     {
  4652.         *rcNameID: =NONE_DISPLAY
  4653.         *switch: DMS
  4654.         {
  4655.             *case: Disable
  4656.             {
  4657.                 *Command: CmdSelect
  4658.                 {
  4659.                     *Order: PAGE_SETUP.8
  4660.                     *Cmd: "<1D>0sdE"
  4661.                 }
  4662.             }
  4663.         }
  4664.     }
  4665.     *Option: VERTICAL
  4666.     {
  4667.         *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  4668.         *Constraints: LIST(PaperSize.A5, PaperSize.HLT, PaperSize.ENV_MONARCH, PaperSize.C10, PaperSize.ENV_DL, PaperSize.IB5, PaperSize.ENV_C6, PaperSize.A3W)
  4669.         *switch: DMS
  4670.         {
  4671.             *case: Disable
  4672.             {
  4673.                 *Command: CmdSelect
  4674.                 {
  4675.                     *Order: PAGE_SETUP.9
  4676.                     *Cmd: "<1D>1sdE<1D>0bdE"
  4677.                 }
  4678.              }
  4679.          }
  4680.     }
  4681.     *Option: HORIZONTAL
  4682.     {
  4683.         *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  4684.         *Constraints: LIST(PaperSize.A5, PaperSize.HLT, PaperSize.ENV_MONARCH, PaperSize.C10, PaperSize.ENV_DL, PaperSize.IB5, PaperSize.ENV_C6, PaperSize.A3W)
  4685.         *switch: DMS
  4686.         {
  4687.             *case: Disable
  4688.             {
  4689.                 *Command: CmdSelect
  4690.                 {
  4691.                     *Order: PAGE_SETUP.9
  4692.                     *Cmd: "<1D>1sdE<1D>1bdE"
  4693.                 }
  4694.             }
  4695.         }
  4696.     }
  4697. }
  4698. *Command: CmdStartJob
  4699. {
  4700.     *Order: JOB_SETUP.1
  4701.     *CallbackID: =SET_LCID_U
  4702. }
  4703. *switch: ColorMode
  4704. {
  4705.     *case: Mono
  4706.     {
  4707.         *switch: DMS
  4708.         {
  4709.             *case: Disable
  4710.             {
  4711.                 *switch: Resolution
  4712.                 {
  4713.                     *case: 300dpi
  4714.                     {
  4715.                         *Command: CmdStartDoc
  4716.                         {
  4717.                             *Order: DOC_SETUP.1
  4718.                             *Cmd: =CMD_STARTDOC_INI_QK
  4719.                          }
  4720.                     }
  4721.                     *case: 600dpi
  4722.                     {
  4723.                         *Command: CmdStartDoc
  4724.                         {
  4725.                             *Order: DOC_SETUP.1
  4726.                             *Cmd: =CMD_STARTDOC_INI_FN
  4727.                         }
  4728.                     }
  4729.                 }
  4730.             }
  4731.         }
  4732.     }
  4733.     *case: 24bpp
  4734.     {
  4735.         *switch: DMS
  4736.         {
  4737.             *case: Disable
  4738.             {
  4739.                 *Command: CmdStartDoc
  4740.                 {
  4741.                     *Order: DOC_SETUP.1
  4742.                     *Cmd: =CMD_STARTDOC_C_INI =CMD_EJL_SET
  4743.                 }
  4744.             }
  4745.         }
  4746.     }
  4747. }
  4748. *switch: DMS
  4749. {
  4750.     *case: Disable
  4751.     {
  4752.         *Command: CmdStartPage
  4753.         {
  4754.             *Order: PAGE_SETUP.1
  4755.             *Cmd: "<1D>0alfP<1D>0affP<1D>0;0;0clfP<1D>0X<1D>0Y"
  4756.         }
  4757.         *Command: CmdEndJob
  4758.         {
  4759.             *Order: JOB_FINISH.1
  4760.             *Cmd: "<1D>rhE<1B01>@EJL <0A1B01>@EJL <0A>"
  4761.         }
  4762.         *Command: CmdCopies
  4763.         {
  4764.             *Order: PAGE_SETUP.7
  4765.             *Cmd: "<1D>"%d[1,255]{NumOfCopies}"coO"
  4766.          }
  4767.     }
  4768. }
  4769. *RotateCoordinate?: TRUE
  4770. *RotateRaster?: TRUE
  4771. *RotateFont?: TRUE
  4772. *TextCaps: LIST(TC_CR_90,TC_SF_X_YINDEP,TC_SA_INTEGER,TC_SA_CONTIN,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE)
  4773. *MemoryUsage: LIST(FONT,RASTER)
  4774. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  4775. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  4776. *YMoveAttributes: LIST(SEND_CR_FIRST)
  4777. *XMoveThreshold: 0
  4778. *YMoveThreshold: 0
  4779. *XMoveUnit: 600
  4780. *YMoveUnit: 600
  4781. *% #if !defined(DUMPRASTER)
  4782. *Command: CmdXMoveAbsolute { *Cmd : "<1D>" %d{(DestX / 2) }"X" }
  4783. *Command: CmdXMoveRelRight { *Cmd : "<1D>" %d{(DestXRel / 2) }"H" }
  4784. *Command: CmdXMoveRelLeft { *Cmd : "<1D>-" %d{(DestXRel / 2) }"H" }
  4785. *Command: CmdYMoveAbsolute { *Cmd : "<1D>" %d{(DestY / 2) }"Y" }
  4786. *Command: CmdYMoveRelDown { *Cmd : "<1D>" %d{(DestYRel / 2) }"V" }
  4787. *Command: CmdYMoveRelUp { *Cmd : "<1D>-" %d{(DestYRel / 2) }"V" }
  4788. *% #else    // !defined(DUMPRASTER)
  4789. *IgnoreBlock
  4790. {   *% for DEBUG
  4791. *Command: CmdXMoveAbsolute
  4792. {
  4793.     *CallbackID : =XMOVE_ABS
  4794.     *Params: LIST(DestX)
  4795. }
  4796. *Command: CmdXMoveRelRight
  4797. {
  4798.     *CallbackID : =XMOVE_REL_RT
  4799.     *Params: LIST(DestXRel)
  4800. }
  4801. *Command: CmdXMoveRelLeft
  4802. {
  4803.     *CallbackID : =XMOVE_REL_LF
  4804.     *Params: LIST(DestXRel)
  4805. }
  4806. *Command: CmdYMoveAbsolute
  4807. {
  4808.     *CallbackID : =YMOVE_ABS
  4809.     *Params: LIST(DestY)
  4810. }
  4811. *Command: CmdYMoveRelDown
  4812. {
  4813.     *CallbackID : =YMOVE_REL_DN
  4814.     *Params: LIST(DestYRel)
  4815. }
  4816. *Command: CmdYMoveRelUp
  4817. {
  4818.     *CallbackID : =YMOVE_REL_UP
  4819.     *Params: LIST(DestYRel)
  4820. }
  4821. }   *% End of *IgnoreBlock
  4822. *% #endif // !defined(DUMPRASTER)
  4823. *Command: CmdCR { *Cmd : "<0D>" }
  4824. *Command: CmdLF { *Cmd : "<0A>" }
  4825. *switch: DMS
  4826. {
  4827.     *case: Disable
  4828.     {
  4829.         *Command: CmdFF { *Cmd : "<0C>" }
  4830.     }
  4831.     *case: Enable
  4832.     {
  4833.         *Command: CmdFF { *Cmd : "" }
  4834.     }
  4835. }
  4836. *Command: CmdBackSpace { *Cmd : "<08>" }
  4837. *Command: CmdPushCursor { *Cmd : "<1D>1ppP" }
  4838. *Command: CmdPopCursor { *Cmd : "<1D>2ppP" }
  4839. *Command: CmdSetSimpleRotation
  4840. {
  4841.     *CallbackID: =TEXT_PRN_DIRECTION
  4842.     *Params: LIST(PrintDirInCCDegrees)
  4843. }
  4844. *EjectPageWithFF?: TRUE
  4845. *OutputDataFormat: H_BYTE
  4846. *OptimizeLeftBound?: TRUE
  4847. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  4848. *CursorYAfterSendBlockData: NO_MOVE
  4849. *DefaultFont: =RC_FONT_ROMAN
  4850. *DefaultCTT: -1
  4851. *CharPosition: BASELINE
  4852. *DeviceFonts: LIST(=RC_FONT_ROMAN,=RC_FONT_SANSRF,=RC_FONT_COURIER,=RC_FONT_COURIERI,
  4853. +                  =RC_FONT_COURIERB,=RC_FONT_COURIERZ,=RC_FONT_SYMBOL,
  4854. +                  =RC_FONT_DUTCH,=RC_FONT_DUTCHI,=RC_FONT_DUTCHB,=RC_FONT_DUTCHZ,
  4855. +                  =RC_FONT_SWISS,=RC_FONT_SWISSI,=RC_FONT_SWISSB,=RC_FONT_SWISSZ,
  4856. +                  =RC_FONT_MOREWB)
  4857.  
  4858. *TTFS: Arial
  4859. {
  4860.     *rcTTFontNameID:  =RC_TTF_ARIAL
  4861.     *rcDevFontNameID: =RC_DF_SWISS721
  4862. }
  4863. *TTFS: CourierNew
  4864. {
  4865.     *rcTTFontNameID:  =RC_TTF_COURIERNEW
  4866.     *rcDevFontNameID: =RC_DF_COURIER
  4867. }
  4868. *TTFS: Symbol
  4869. {
  4870.     *rcTTFontNameID:  =RC_TTF_SYMBOL
  4871.     *rcDevFontNameID: =RC_DF_SYMBOLIC
  4872. }
  4873. *TTFS: TimesNewRoman
  4874. {
  4875.     *rcTTFontNameID:  =RC_TTF_TIMESNR
  4876.     *rcDevFontNameID: =RC_DF_DUTCH801
  4877. }
  4878. *TTFS: Wingdings
  4879. {
  4880.     *rcTTFontNameID:  =RC_TTF_WINGDINGS
  4881.     *rcDevFontNameID: =RC_DF_MOREWINGBATS
  4882. }
  4883.  
  4884. *TTFSEnabled?: =TTFS_ENABLED
  4885.  
  4886. *MinFontID: =DOWNLOAD_MIN_FONT_ID
  4887. *MaxFontID: =DOWNLOAD_MAX_FONT_ID
  4888. *MaxNumDownFonts: =DOWNLOAD_MAX_FONTS
  4889. *MinGlyphID: =DOWNLOAD_MIN_GLYPH_ID
  4890. *MaxGlyphID: =DOWNLOAD_MAX_GLYPH_ID
  4891. *FontFormat: OEM_CALLBACK
  4892. *Command: CmdSelectFontID
  4893. {
  4894.     *CallbackID: =DOWNLOAD_SELECT_FONT_ID
  4895.     *Params: LIST(CurrentFontID)
  4896. }
  4897. *Command: CmdSetFontID
  4898. {
  4899.     *CallbackID: =DOWNLOAD_SET_FONT_ID
  4900.     *Params: LIST(CurrentFontID)
  4901. }
  4902. *Command: CmdSetCharCode
  4903. {
  4904.     *CallbackID: =DOWNLOAD_SET_CHAR_CODE
  4905.     *Params: LIST(NextGlyph)
  4906. }
  4907. *Command: CmdDeleteFont
  4908. {
  4909.     *CallbackID: =DOWNLOAD_DELETE_FONT
  4910.     *Params: LIST(CurrentFontID)
  4911. }
  4912. *Command: CmdBoldOn
  4913. {
  4914.     *CallbackID: =TEXT_BOLD
  4915.     *Params: LIST(FontBold)
  4916. }
  4917. *Command: CmdBoldOff
  4918. {
  4919.     *CallbackID: =TEXT_BOLD
  4920.     *Params: LIST(FontBold)
  4921. }
  4922. *Command: CmdItalicOn
  4923. {
  4924.     *CallbackID: =TEXT_ITALIC
  4925.     *Params: LIST(FontItalic)
  4926. }
  4927. *Command: CmdItalicOff
  4928. {
  4929.     *CallbackID: =TEXT_ITALIC
  4930.     *Params: LIST(FontItalic)
  4931. }
  4932.  
  4933. *switch: ColorMode
  4934. {
  4935.     *case: Mono
  4936.     {
  4937.         *switch: DMS
  4938.         {
  4939.             *case: Disable
  4940.             {
  4941.                 *Command: CmdEnableFE_RLE
  4942.                 {
  4943.                     *Cmd : "<1D>1bcI"
  4944.                 }
  4945.                 *Command: CmdDisableCompression
  4946.                 {
  4947.                     *Cmd : "<1D>0bcI"
  4948.                 }
  4949.                 *Command: CmdUnderlineOn { *Cmd : "<1D>0;2rpI<1D>1ulC" }
  4950.                 *Command: CmdUnderlineOff { *Cmd : "<1D>0ulC" }
  4951.                 *Command: CmdWhiteTextOn { *Cmd : "<1D>1;0;0spE<1D>1owE<1D>1tsE" }
  4952.                 *Command: CmdWhiteTextOff { *Cmd : "<1D>1;0;100spE<1D>0owE<1D>0tsE" }
  4953.                 *Command: CmdSelectWhiteBrush { *Cmd : "<1D>1;0;0spE<1D>1owE<1D>1tsE" }
  4954.                 *Command: CmdSelectBlackBrush { *Cmd : "<1D>1;0;100spE<1D>0owE<1D>0tsE" }
  4955.                 *Command: CmdVerticalPrintingOn
  4956.                 {
  4957.                     *CallbackID: =TEXT_VERTICAL
  4958.                 }
  4959.                 *Command: CmdVerticalPrintingOff
  4960.                 {
  4961.                     *CallbackID: =TEXT_HORIZONTAL
  4962.                 }
  4963.             }
  4964.         }
  4965.     }
  4966.     *case: 24bpp
  4967.     {
  4968.         *switch: DMS
  4969.         {
  4970.             *case: Disable
  4971.             {
  4972.                 *Command: CmdEnableOEMComp
  4973.                 {
  4974.                     *CallbackID: =COMPRESS_ON
  4975.                 }
  4976.                 *Command: CmdDisableCompression
  4977.                 {
  4978.                     *CallbackID: =COMPRESS_OFF
  4979.                 }
  4980.                 *Command: CmdSelectSingleByteMode
  4981.                 {
  4982.                     *CallbackID: =TEXT_SINGLE_BYTE
  4983.                     *Params: LIST(FontBold,FontItalic)
  4984.                 }
  4985.                 *Command: CmdVerticalPrintingOff
  4986.                 {
  4987.                     *CallbackID: =TEXT_HORIZONTAL
  4988.                 }
  4989.             }
  4990.         }
  4991.     }
  4992. }
  4993.